menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChangeEventArgs<TSource, TChange> - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChangeEventArgs<TSource, TChange>

    Provides data for ChangeEvent(ViewPortChanged,NodeChanged,OverviewChanged,AnnotationChanged,ConnectorChanged and PortChanged) of the diagram.

    Inheritance
    System.Object
    DiagramEventArgs
    ChangeEventArgs<TSource, TChange>
    Inherited Members
    DiagramEventArgs.Item
    DiagramEventArgs.OriginalSource
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.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
    System.Windows.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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved