Class SnapSettings
Represents the gridlines and defines how and when the objects have to be snapped.
Inheritance
System.Object
SnapSettings
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class SnapSettings : Object, ISnapSettings, INotifyPropertyChanged
Constructors
SnapSettings()
Declaration
public SnapSettings()
Properties
HorizontalGridlines
Gets or sets the appearance of horizontal gridlines.
Declaration
public Gridlines HorizontalGridlines { get; set; }
Property Value
Type |
---|
Gridlines |
SnapAngle
Gets or sets the angle by which the object needs to be snapped.
Declaration
public double SnapAngle { get; set; }
Property Value
Type |
---|
System.Double |
SnapConstraints
Gets or sets the default behavior of the snapconstraints.
Declaration
public SnapConstraints SnapConstraints { get; set; }
Property Value
Type |
---|
SnapConstraints |
SnapIndicatorStyle
Gets or sets the style to snapping lines.
Declaration
public Style SnapIndicatorStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
SnapToObject
Gets or sets the snapping nodes/connectors to objects.
Declaration
public SnapToObject SnapToObject { get; set; }
Property Value
Type |
---|
SnapToObject |
VerticalGridlines
Gets or sets the appearance of vertical gridlines.
Declaration
public Gridlines VerticalGridlines { get; set; }
Property Value
Type |
---|
Gridlines |
Methods
OnPropertyChanged(String)
Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(name).
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged