Class ChangeEventArgs<TSource, TChange>
Provides data for ChangeEvent(ViewPortChanged,NodeChanged,OverviewChanged,AnnotationChanged,ConnectorChanged and PortChanged) of the diagram.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class ChangeEventArgs<TSource, TChange> : DiagramEventArgs
Type Parameters
Name |
---|
TSource |
TChange |
Constructors
ChangeEventArgs(TSource, ref TChange, ref TChange, ref TChange)
Initializes a new instance of the Syncfusion.UI.Xaml.Diagram.ChangeArgs class.
Declaration
public ChangeEventArgs(TSource item, ref TChange initialValue, ref TChange oldValue, ref TChange newValue)
Parameters
Type | Name | Description |
---|---|---|
TSource | item | Represent the object changed in the diagram. |
TChange | initialValue | Represent the initialValue of the object. |
TChange | oldValue | The value of the element before it was changed. |
TChange | newValue | The value of the element currently modified. |
Properties
BoundaryConstraints
Gets or sets the BoundaryConstraints of the elements.
Declaration
public Rect BoundaryConstraints { get; set; }
Property Value
Type |
---|
Windows.Foundation.Rect |
Cancel
Gets or sets a value indicate whether the annotation change is a cancel.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Cause
Gets the value of the property cause the change.
Declaration
public Cause Cause { get; }
Property Value
Type |
---|
Cause |
InitialValue
Gets the value of the property initially.
Declaration
public TChange InitialValue { get; }
Property Value
Type |
---|
TChange |
NewValue
Gets the value of the property after the change.
Declaration
public TChange NewValue { get; }
Property Value
Type |
---|
TChange |
OldValue
Gets the value of the property before the change.
Declaration
public TChange OldValue { get; }
Property Value
Type |
---|
TChange |