Class CancelRoutedEventArgs
A cancellable RoutedEventArgs
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 |
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 |
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 |
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 |
|