MindFusion WinForms Programmer's Guide
ControlNode.ControlPadding Property
See Also
 





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

 Syntax

C#  Copy Code

public float ControlPadding { get; set; }

Visual Basic  Copy Code

Public Property ControlPadding As Single

 Property Value

A float value specifying the size of the padding space in the unit set in MeasureUnit.

 Remarks

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.

 See Also

ControlNode Members
ControlNode Class
MindFusion.Diagramming.WinForms Namespace