Syncfusion.Diagram.Base


SnapToGrid Property

Gets or sets a value indicating whether the snap to grid feature is enable or disabled.
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<DefaultValueAttribute(True)>
<DescriptionAttribute("Specifies whether the snap to grid feature is enabled.")>
Public Property SnapToGrid As Boolean
'Usage
 
Dim instance As LayoutGrid
Dim value As Boolean
 
instance.SnapToGrid = value
 
value = instance.SnapToGrid
[Browsable(true)]
[DefaultValue(true)]
[Description("Specifies whether the snap to grid feature is enabled.")]
public bool SnapToGrid {get; set;}
Remarks

This property determines how the GetNearestGridPoint(PointF) method behaves.

AssemblyVersion

Syncfusion.Diagram.Base: 17.4460.0.39

See Also