CancelBookPageRoutedEventArgs Class
Provides event arguments for a cancelable Book routed event.
public class CancelBookPageRoutedEventArgs : BookPageRoutedEventArgs
- Inheritance:
- Object EventArgs RoutedEventArgs BookPageRoutedEventArgs Object
Constructors
CancelBookPageRoutedEventArgs(RoutedEvent, Object, Corner, BookPageFace)
Initializes a new instance of the CancelBookPageRoutedEventArgs
class.
public CancelBookPageRoutedEventArgs(RoutedEvent routedEvent, object source, Corner corner, BookPageFace face)
Parameter | Type | Description |
---|---|---|
routedEvent | RoutedEvent | The routed event. |
source | Object | Gets or sets a reference to the object that raised the event. |
corner | Corner | The corner being curled or flipped. |
face | BookPageFace | The page face that is being curled or flipped. |
Properties
Cancel
Gets or sets a value indicating whether the event should be canceled.
public bool Cancel { get; set; }
Property Value
- Boolean:
true
to cancel the event; otherwise,false
.