Class NodeFixedUserHandle
Represents the node’s fixed user handle.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class NodeFixedUserHandle : FixedUserHandle, IDiagramObject, ICloneable
Constructors
NodeFixedUserHandle()
Initializes a new instance of the NodeFixedUserHandle.
Declaration
public NodeFixedUserHandle()
NodeFixedUserHandle(NodeFixedUserHandle)
Creates a new instance of the NodeFixedUserHandle from the given NodeFixedUserHandle.
Declaration
public NodeFixedUserHandle(NodeFixedUserHandle src)
Parameters
Type | Name | Description |
---|---|---|
NodeFixedUserHandle | src | NodeFixedUserHandle. |
Properties
Margin
Gets or sets the extra space around the outer boundaries of the fixed user handle.
Declaration
public DiagramThickness Margin { get; set; }
Property Value
Type | Description |
---|---|
DiagramThickness | By default,it is 0 from all the sides. |
Examples
Node node = new Node()
{
FixedUserHandles = new DiagramObjectCollection<NodeFixedUserHandle>()
{
new NodeFixedUserHandle()
{
Margin = new DiagramThickness() { Right = 20 },
}
},
};
Offset
Gets or sets the position of the node fixed user handle.
Declaration
public DiagramPoint Offset { get; set; }
Property Value
Type |
---|
DiagramPoint |
Examples
Node node = new Node()
{
FixedUserHandles = new DiagramObjectCollection<NodeFixedUserHandle>()
{
new NodeFixedUserHandle()
{
ID = "user1",
Height = 25,
Width = 25,
Offset = 0.5,
}
},
};
Methods
Clone()
Creates a new object that is a copy of the current NodeFixedUserHandle.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | NodeFixedUserHandle |
Overrides
Implements
System.ICloneable