Class Selector
Represents a visual representation of selected elements. It behaves like a container for single or multiple selected elements.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class Selector : Group, ISharedData, IDisposable, ISelector, IGroup, INode, IGroupable, ISelectorView, IGroupView, INodeView, IView, IDiagramElement, IID, INotifyPropertyChanged
Constructors
Selector()
Initializes a new instance of the Selector class.
Declaration
public Selector()
Fields
AnnotationProperty
Using a DependencyProperty as the backing store for Annotation. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty AnnotationProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
CommandsProperty
Using a DependencyProperty as the backing store for Commands. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty CommandsProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
DiagramCommandsProperty
Using a DependencyProperty as the backing store for DiagramCommands property. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty DiagramCommandsProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
LanesProperty
Using a DependencyProperty as the backing store for Port. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty LanesProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
PhasesProperty
Using a DependencyProperty as the backing store for Port. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty PhasesProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
PortProperty
Using a DependencyProperty as the backing store for Port. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty PortProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
QuickCommandsProperty
QuickCommands
Declaration
public static DependencyProperty QuickCommandsProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
SelectedItemProperty
Using a DependencyProperty as the backing store for FirstSelectedItem. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty SelectedItemProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
SelectorConstraintsProperty
Using a DependencyProperty as the backing store for SelectorConstraints. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty SelectorConstraintsProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
SwimlaneHeaderProperty
Using a DependencyProperty as the backing store for Port. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty SwimlaneHeaderProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
SwimlanesProperty
Using a DependencyProperty as the backing store for Port. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty SwimlanesProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
TooltipContentProperty
Using a DependencyProperty as the backing store for TooltipContent. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty TooltipContentProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
ToolTipProperty
ToolTip
Declaration
public static DependencyProperty ToolTipProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
TooltipTemplateProperty
Using a DependencyProperty as the backing store for TooltipTemplate. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty TooltipTemplateProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
TooltipVisibilityProperty
Using a DependencyProperty as the backing store for TooltipVisibility property. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty TooltipVisibilityProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
Properties
Annotation
Gets or sets the annotation for the selected element.
Declaration
public IAnnotation Annotation { get; set; }
Property Value
| Type |
|---|
| IAnnotation |
Commands
Gets or sets a collection of object where each object represents a IQuickCommand.
Declaration
public object Commands { get; set; }
Property Value
| Type |
|---|
| System.Object |
DiagramCommands
Gets the diagram commands value.
Declaration
public IDiagramCommands DiagramCommands { get; }
Property Value
| Type |
|---|
| IDiagramCommands |
Lanes
Gets or sets a collection of objects where each object represents a ILane.
Declaration
public object Lanes { get; set; }
Property Value
| Type |
|---|
| System.Object |
Remarks
A lane is a functional unit or a responsible department of a business process that helps to map a process within the functional unit or in between other functional units.
Phases
Gets or sets a collection of objects where each object represents a IPhase.
Declaration
public object Phases { get; set; }
Property Value
| Type |
|---|
| System.Object |
Remarks
A phase is the subprocess which will split each lane as horizontally or vertically based on the Windows.UI.Xaml.Controls.Orientation.
Port
Gets or sets the port to the selected element.
Declaration
public IPort Port { get; set; }
Property Value
| Type |
|---|
| IPort |
QuickCommands
Gets or sets quick commands value for selector.
Declaration
public Visibility QuickCommands { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Xaml.Visibility |
SelectedItem
Gets or sets the firstselected item of the diagram.
Declaration
public object SelectedItem { get; set; }
Property Value
| Type |
|---|
| System.Object |
SelectorConstraints
Gets or sets the default behaviors for selector.
Declaration
public SelectorConstraints SelectorConstraints { get; set; }
Property Value
| Type |
|---|
| SelectorConstraints |
SwimlaneHeader
Gets or sets the Header to the selected element.
Declaration
public ISwimlaneHeader SwimlaneHeader { get; set; }
Property Value
| Type |
|---|
| ISwimlaneHeader |
Swimlanes
Gets or sets a collection of objects where each object represents a ISwimlane.
Declaration
public object Swimlanes { get; set; }
Property Value
| Type |
|---|
| System.Object |
ToolTip
Declaration
public ToolTip ToolTip { get; set; }
Property Value
| Type |
|---|
| ToolTip |
ToolTip_Delete
Gets or sets the ToolTip as Delete for Delete Quickcommand.
Declaration
public string ToolTip_Delete { get; set; }
Property Value
| Type |
|---|
| System.String |
ToolTip_Draw
Gets or sets the ToolTip as Draw for Draw Quickcommand.
Declaration
public string ToolTip_Draw { get; set; }
Property Value
| Type |
|---|
| System.String |
ToolTip_Duplicate
Gets or sets the ToolTip as Duplicate for Duplicate Quickcommand.
Declaration
public string ToolTip_Duplicate { get; set; }
Property Value
| Type |
|---|
| System.String |
ToolTip_Pivot
Gets or sets the ToolTip as Pivot for Pivot Quickcommand.
Declaration
public string ToolTip_Pivot { get; set; }
Property Value
| Type |
|---|
| System.String |
TooltipContent
Gets or sets the tooltip content to the selector.
Declaration
public object TooltipContent { get; set; }
Property Value
| Type |
|---|
| System.Object |
TooltipTemplate
Gets or sets the tooltip template to the selector.
Declaration
public DataTemplate TooltipTemplate { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Xaml.DataTemplate |
TooltipVisibility
Gets or sets port visibility value.
Declaration
public Visibility TooltipVisibility { get; }
Property Value
| Type |
|---|
| Windows.UI.Xaml.Visibility |
Methods
ClearSelection(Object)
Clear the selected items in the Diagram.
Declaration
protected void ClearSelection(object Element = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | Element |
CornerBTAngle(Object)
Set the Cursor rotation angle.
Declaration
public void CornerBTAngle(object sender)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender |
CornerBTRightAngle(Object)
Set the Cursor rotation angle.
Declaration
public void CornerBTRightAngle(object sender)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender |
CornerRLAngle(Object)
Set the Cursor rotation angle.
Declaration
public void CornerRLAngle(object sender)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender |
CornerTBLeftAngle(Object)
Set the Cursor rotation angle.
Declaration
public void CornerTBLeftAngle(object sender)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender |
GroupSelectionHierarchy(Object)
Method to decide Selection Hierarchy Order
Declaration
protected virtual void GroupSelectionHierarchy(object Source = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | Source |
MeasureOverride(Size)
Method to measure size of Selector class elements.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.Foundation.Size | availableSize | Size to be measure. |
Returns
| Type | Description |
|---|---|
| Windows.Foundation.Size | Return measured size. |
Overrides
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Overrides
PointerSelection(PointerSelectionArgs)
Method to decide whether Selection should be done in PointerDown.
Declaration
protected virtual void PointerSelection(PointerSelectionArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| PointerSelectionArgs | args | Instance of PointerSelectionArgs |
Selection(Object)
Select the Objects
Declaration
protected void Selection(object element = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | element | Diagrammig objects |
SelectPredecessor(Object)
Method to Select the Parent to Child
Declaration
protected void SelectPredecessor(object element = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | element | Diagrammig objects |
SelectSuccessor(Object)
Method to Select the Child to Parent
Declaration
protected void SelectSuccessor(object element = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | element | Diagrammig objects |
UpdateToolTip(NodeConstraints)
Update the ToolTip.
Declaration
public void UpdateToolTip(NodeConstraints nodeConstraints)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeConstraints | nodeConstraints |
Explicit Interface Implementations
IGroup.set_Padding(Thickness)
Declaration
void IGroup.set_Padding(Thickness value)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.Thickness | value |
INode.set_Content(Object)
Declaration
void INode.set_Content(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
INode.set_ContentTemplate(DataTemplate)
Declaration
void INode.set_ContentTemplate(DataTemplate value)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.DataTemplate | value |
INode.set_MaxHeight(Double)
Declaration
void INode.set_MaxHeight(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
INode.set_MaxWidth(Double)
Declaration
void INode.set_MaxWidth(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
INode.set_MinHeight(Double)
Declaration
void INode.set_MinHeight(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
INode.set_MinWidth(Double)
Declaration
void INode.set_MinWidth(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |