Gets or sets how much space to leave between the borders of the node and the hosted control.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public float ControlPadding { get; set; } |
Visual Basic Copy Code |
---|
Public Property ControlPadding As Single |
A float value specifying the size of the padding space in the unit set in MeasureUnit.
By default, there is 1 unit padding space left between the Bounds border and the control itself. It is used to let users select ControlNode nodes by clicking in this area, for situations in which MindFusion.Diagramming cannot detect mouse-clicks on the control.