WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EditModeChangeEventArgs

    Show / Hide Table of Contents

    Class EditModeChangeEventArgs

    Contains arguments relevant to edit mode of the TreeViewItemAdv.

    Inheritance
    System.Object
    EditModeChangeEventArgs
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class EditModeChangeEventArgs : RoutedEventArgs
    Remarks

    This class is responsible for packaging the event data for TreeViewItemAdv when changes IsInEditmMode property of the node.

    Constructors

    EditModeChangeEventArgs(RoutedEvent)

    Initializes a new instance of the EditModeChangeEventArgs class.

    Declaration
    public EditModeChangeEventArgs(RoutedEvent routedEvent)
    Parameters
    Type Name Description
    System.Windows.RoutedEvent routedEvent

    The routed event.

    EditModeChangeEventArgs(RoutedEvent, Object)

    Initializes a new instance of the EditModeChangeEventArgs class.

    Declaration
    public EditModeChangeEventArgs(RoutedEvent routedEvent, object source)
    Parameters
    Type Name Description
    System.Windows.RoutedEvent routedEvent

    The routed event identifier for this instance of the System.Windows.RoutedEventArgs class.

    System.Object source

    An alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property.

    EditModeChangeEventArgs(RoutedEvent, Object, Object, Object)

    Initializes a new instance of the EditModeChangeEventArgs class.

    Declaration
    public EditModeChangeEventArgs(RoutedEvent routedEvent, object source, object oldValue, object newValue)
    Parameters
    Type Name Description
    System.Windows.RoutedEvent routedEvent

    The routed event.

    System.Object source

    The source.

    System.Object oldValue

    The old value.

    System.Object newValue

    The new value.

    Properties

    Cancel

    Gets or sets a value indicating whether the event should be canceled.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    NewValue

    Gets new value.

    Declaration
    public object NewValue { get; }
    Property Value
    Type Description
    System.Object

    Type: System.Object A object that represent new value of the node.

    See Also
    TreeViewAdv
    TreeViewItemAdv
    System.Object

    OldValue

    Gets old value.

    Declaration
    public object OldValue { get; }
    Property Value
    Type Description
    System.Object

    Type: System.Object A object that represent old value of the node.

    See Also
    TreeViewAdv
    TreeViewItemAdv
    System.Object

    See Also

    TreeViewAdv
    TreeViewItemAdv
    System.Windows.RoutedEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved