Class CancelRoutedEventArgs
- Namespace
- Avalonia.Interactivity
- Assembly
- Avalonia.Base.dll
Provides state information and data specific to a cancelable routed event.
public class CancelRoutedEventArgs : RoutedEventArgs
- Inheritance
-
CancelRoutedEventArgs
- Inherited Members
Constructors
CancelRoutedEventArgs()
Initializes a new instance of the CancelRoutedEventArgs class.
public CancelRoutedEventArgs()
CancelRoutedEventArgs(RoutedEvent?)
Initializes a new instance of the CancelRoutedEventArgs class.
public CancelRoutedEventArgs(RoutedEvent? routedEvent)
Parameters
routedEvent
RoutedEventThe routed event associated with these event args.
CancelRoutedEventArgs(RoutedEvent?, object?)
Initializes a new instance of the CancelRoutedEventArgs class.
public CancelRoutedEventArgs(RoutedEvent? routedEvent, object? source)
Parameters
routedEvent
RoutedEventThe routed event associated with these event args.
source
objectThe source object that raised the routed event.
Properties
Cancel
Gets or sets a value indicating whether the routed event should be canceled.
public bool Cancel { get; set; }