Class DiagramSelectorBuilder
  
  
  
  
    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DiagramSelectorBuilder
   
  
  Assembly: Syncfusion.EJ2.dll
  Syntax
  
    public class DiagramSelectorBuilder : ControlBuilder
   
  Constructors
  
  
  
  
  DiagramSelectorBuilder()
  
  
  Declaration
  
    public DiagramSelectorBuilder()
   
  
  
  
  DiagramSelectorBuilder(DiagramSelector)
  
  
  Declaration
  
    public DiagramSelectorBuilder(DiagramSelector model)
   
  Parameters
  
  Methods
  
  
  
  
  CanToggleSelection(Boolean)
  Specifies whether the selection state of the diagram element should be toggled based on a mouse click at runtime.
The default value is false.
 
  
  Declaration
  
    public DiagramSelectorBuilder CanToggleSelection(bool value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  Connectors(Object)
  Defines the collection of selected connectors
 
  
  Declaration
  
    public DiagramSelectorBuilder Connectors(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  Constraints(SelectorConstraints)
  Controls the visibility of selector.
None - Hides all the selector elements
ConnectorSourceThumb - Shows/hides the source thumb of the connector
ConnectorTargetThumb - Shows/hides the target thumb of the connector
ResizeSouthEast - Shows/hides the bottom right resize handle of the selector
ResizeSouthWest - Shows/hides the bottom left resize handle of the selector
ResizeNorthEast - Shows/hides the top right resize handle of the selector
ResizeNorthWest - Shows/hides the top left resize handle of the selector
ResizeEast - Shows/hides the middle right resize handle of the selector
ResizeWest - Shows/hides the middle left resize handle of the selector
ResizeSouth - Shows/hides the bottom center resize handle of the selector
ResizeNorth - Shows/hides the top center resize handle of the selector
Rotate - Shows/hides the rotate handle of the selector
UserHandles - Shows/hides the user handles of the selector
Resize - Shows/hides all resize handles of the selector
 
  
  Declaration
  
    public DiagramSelectorBuilder Constraints(SelectorConstraints value)
   
  Parameters
  
  Returns
  
  
  
  
  HandleSize(Double)
  Defines the size of the resize handler
 
  
  Declaration
  
    public DiagramSelectorBuilder HandleSize(double value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  Height(Double)
  Sets/Gets the height of the container
 
  
  Declaration
  
    public DiagramSelectorBuilder Height(double value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  Nodes(Object)
  Defines the collection of selected nodes
 
  
  Declaration
  
    public DiagramSelectorBuilder Nodes(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  OffsetX(Double)
  Sets the positionX of the container
 
  
  Declaration
  
    public DiagramSelectorBuilder OffsetX(double value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  OffsetY(Double)
  Sets the positionY of the container
 
  
  Declaration
  
    public DiagramSelectorBuilder OffsetY(double value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  Pivot(DiagramPoint)
  Sets the pivot of the selector
 
  
  Declaration
  
    public DiagramSelectorBuilder Pivot(DiagramPoint value)
   
  Parameters
  
  Returns
  
  
  
  
  Pivot(Action<DiagramPointBuilder>)
  
  
  Declaration
  
    public DiagramSelectorBuilder Pivot(Action<DiagramPointBuilder> pivot)
   
  Parameters
  
  Returns
  
  
  
  
  RotateAngle(Double)
  Sets the rotate angle of the container
 
  
  Declaration
  
    public DiagramSelectorBuilder RotateAngle(double value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  RubberBandSelectionMode(RubberBandSelectionMode)
  Defines how to pick the objects to be selected using rubber band selection
CompleteIntersect - Selects the objects that are contained within the selected region
PartialIntersect - Selects the objects that are partially intersected with the selected region
 
  
  Declaration
  
    public DiagramSelectorBuilder RubberBandSelectionMode(RubberBandSelectionMode value)
   
  Parameters
  
  Returns
  
  
  
  
  SelectedObjects(Object)
  Defines the collection of selected nodes and connectors
 
  
  Declaration
  
    public DiagramSelectorBuilder SelectedObjects(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  
  setTooltipTemplate helps to customize the content of a tooltip
 
  
  Declaration
  
    public DiagramSelectorBuilder SetTooltipTemplate(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  
  setTooltipTemplate helps to customize the content of a tooltip
 
  
  Declaration
  
    public DiagramSelectorBuilder SetTooltipTemplate(string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  UserHandles(Action<DiagramUserHandleBuilder>)
  
  
  Declaration
  
    public DiagramSelectorBuilder UserHandles(Action<DiagramUserHandleBuilder> userHandles)
   
  Parameters
  
  Returns
  
  
  
  
  UserHandles(List<DiagramUserHandle>)
  Defines the collection of user handle
 
  
  Declaration
  
    public DiagramSelectorBuilder UserHandles(List<DiagramUserHandle> value)
   
  Parameters
  
  Returns
  
  
  
  
  Width(Double)
  Sets/Gets the width of the container
 
  
  Declaration
  
    public DiagramSelectorBuilder Width(double value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  Wrapper(Object)
  Defines the size and position of the container
 
  
  Declaration
  
    public DiagramSelectorBuilder Wrapper(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns