WPF

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

    Show / Hide Table of Contents

    Class CancelRoutedEventArgs

    A cancellable RoutedEventArgs

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

    Constructors

    CancelRoutedEventArgs()

    Initializes a new instance of the CancelRoutedEventArgs class.

    Declaration
    public CancelRoutedEventArgs()

    CancelRoutedEventArgs(Boolean)

    Initializes a new instance of the CancelRoutedEventArgs class.

    Declaration
    public CancelRoutedEventArgs(bool cancel)
    Parameters
    Type Name Description
    System.Boolean cancel

    if set to true [cancel].

    CancelRoutedEventArgs(Boolean, RoutedEvent)

    Initializes a new instance of the CancelRoutedEventArgs class.

    Declaration
    public CancelRoutedEventArgs(bool cancel, RoutedEvent routedEvent)
    Parameters
    Type Name Description
    System.Boolean cancel

    if set to true [cancel].

    System.Windows.RoutedEvent routedEvent

    The routed event.

    CancelRoutedEventArgs(Boolean, RoutedEvent, Object)

    Initializes a new instance of the CancelRoutedEventArgs class.

    Declaration
    public CancelRoutedEventArgs(bool cancel, RoutedEvent routedEvent, object source)
    Parameters
    Type Name Description
    System.Boolean cancel

    if set to true [cancel].

    System.Windows.RoutedEvent routedEvent

    The routed event.

    System.Object source

    The source.

    CancelRoutedEventArgs(RoutedEvent)

    Initializes a new instance of the CancelRoutedEventArgs class.

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

    The routed event.

    CancelRoutedEventArgs(RoutedEvent, Object)

    Initializes a new instance of the CancelRoutedEventArgs class.

    Declaration
    public CancelRoutedEventArgs(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.

    Properties

    Cancel

    Gets or sets a value indicating whether this CancelRoutedEventArgs is cancel.

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

    true if cancel; otherwise, false.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved