Class DiagramUserHandleBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramUserHandleBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramUserHandleBuilder : ControlBuilder
Constructors
DiagramUserHandleBuilder()
Declaration
public DiagramUserHandleBuilder()
DiagramUserHandleBuilder(List<DiagramUserHandle>)
Declaration
public DiagramUserHandleBuilder(List<DiagramUserHandle> collection)
Parameters
Methods
Add()
Declaration
BackgroundColor(String)
Defines the background color of user Handle
Declaration
public DiagramUserHandleBuilder BackgroundColor(string backgroundColor)
Parameters
Type |
Name |
Description |
System.String |
backgroundColor |
|
Returns
BorderColor(String)
Defines the borderColor of user Handle
Declaration
public DiagramUserHandleBuilder BorderColor(string borderColor)
Parameters
Type |
Name |
Description |
System.String |
borderColor |
|
Returns
BorderWidth(Double)
Defines the borderWidth of user Handle
Declaration
public DiagramUserHandleBuilder BorderWidth(double borderWidth)
Parameters
Type |
Name |
Description |
System.Double |
borderWidth |
|
Returns
Content(String)
Defines the custom content of the user handle
Declaration
public DiagramUserHandleBuilder Content(string content)
Parameters
Type |
Name |
Description |
System.String |
content |
|
Returns
DisableConnectors(Boolean)
Defines the visible of user Handle
Declaration
public DiagramUserHandleBuilder DisableConnectors(bool disableConnectors)
Parameters
Type |
Name |
Description |
System.Boolean |
disableConnectors |
|
Returns
DisableNodes(Boolean)
Defines the visible of user Handle
Declaration
public DiagramUserHandleBuilder DisableNodes(bool disableNodes)
Parameters
Type |
Name |
Description |
System.Boolean |
disableNodes |
|
Returns
Displacement(Double)
Defines the displacement of user Handle
Declaration
public DiagramUserHandleBuilder Displacement(double displacement)
Parameters
Type |
Name |
Description |
System.Double |
displacement |
|
Returns
HorizontalAlignment(HorizontalAlignment)
Defines the horizontal alignment of the user handle
Stretch - Stretches the diagram element throughout its immediate parent
Left - Aligns the diagram element at the left of its immediate parent
Right - Aligns the diagram element at the right of its immediate parent
Center - Aligns the diagram element at the center of its immediate parent
Auto - Aligns the diagram element based on the characteristics of its immediate parent
Declaration
public DiagramUserHandleBuilder HorizontalAlignment(HorizontalAlignment horizontalAlignment)
Parameters
Returns
Margin(DiagramMargin)
Defines the margin of the user handle
Declaration
public DiagramUserHandleBuilder Margin(DiagramMargin margin)
Parameters
Returns
Margin(Action<DiagramMarginBuilder>)
Declaration
public DiagramUserHandleBuilder Margin(Action<DiagramMarginBuilder> margin)
Parameters
Returns
Name(String)
Defines the name of user Handle
Declaration
public DiagramUserHandleBuilder Name(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Offset(Double)
Defines the offset of user Handle
Declaration
public DiagramUserHandleBuilder Offset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
Returns
PathColor(String)
Defines the path color of user Handle
Declaration
public DiagramUserHandleBuilder PathColor(string pathColor)
Parameters
Type |
Name |
Description |
System.String |
pathColor |
|
Returns
PathData(String)
Defines the path data of user Handle
Declaration
public DiagramUserHandleBuilder PathData(string pathData)
Parameters
Type |
Name |
Description |
System.String |
pathData |
|
Returns
Side(Side)
Defines the position of user Handle
Top - Aligns the user handles at the top of an object
Bottom - Aligns the user handles at the bottom of an object
Left - Aligns the user handles at the left of an object
Right - Aligns the user handles at the right of an object
Declaration
public DiagramUserHandleBuilder Side(Side side)
Parameters
Type |
Name |
Description |
Side |
side |
|
Returns
Size(Double)
Defines the size of user Handle
Declaration
public DiagramUserHandleBuilder Size(double size)
Parameters
Type |
Name |
Description |
System.Double |
size |
|
Returns
Source(String)
Defines the image source of the user handle
Declaration
public DiagramUserHandleBuilder Source(string source)
Parameters
Type |
Name |
Description |
System.String |
source |
|
Returns
Used to show tooltip for user handle on mouse over.
Declaration
public DiagramUserHandleBuilder Tooltip(object tooltip)
Parameters
Type |
Name |
Description |
System.Object |
tooltip |
|
Returns
VerticalAlignment(VerticalAlignment)
Defines the vertical alignment of the user handle
Stretch - Stretches the diagram element throughout its immediate parent
Top - Aligns the diagram element at the top of its immediate parent
Bottom - Aligns the diagram element at the bottom of its immediate parent
Center - Aligns the diagram element at the center of its immediate parent
Auto - Aligns the diagram element based on the characteristics of its immediate parent
Declaration
public DiagramUserHandleBuilder VerticalAlignment(VerticalAlignment verticalAlignment)
Parameters
Returns
Visible(Boolean)
Defines the visible of user Handle
Declaration
public DiagramUserHandleBuilder Visible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns