BooleanPropertyChangedRoutedEventArgs Class
Provides event arguments for a bool property change routed event, indicating the old and new values.
public class BooleanPropertyChangedRoutedEventArgs : PropertyChangedRoutedEventArgs<bool>
- Inheritance:
- object EventArgs RoutedEventArgs PropertyChangedRoutedEventArgs<bool> object
Constructors
BooleanPropertyChangedRoutedEventArgs(bool, bool)
Initializes a new instance of the BooleanPropertyChangedRoutedEventArgs
class.
public BooleanPropertyChangedRoutedEventArgs(bool oldValue, bool newValue)
Parameter | Type | Description |
---|---|---|
oldValue | bool | The previous value of the property being tracked as reported by an event. |
newValue | bool | The new value of the property being tracked as reported by an event. |
BooleanPropertyChangedRoutedEventArgs(RoutedEvent, bool, bool)
Initializes a new instance of the BooleanPropertyChangedRoutedEventArgs
class.
public BooleanPropertyChangedRoutedEventArgs(RoutedEvent routedEvent, bool oldValue, bool newValue)
Parameter | Type | Description |
---|---|---|
routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
oldValue | bool | The previous value of the property being tracked as reported by an event. |
newValue | bool | The new value of the property being tracked as reported by an event. |
BooleanPropertyChangedRoutedEventArgs(RoutedEvent, bool, bool, object)
Initializes a new instance of the BooleanPropertyChangedRoutedEventArgs
class.
public BooleanPropertyChangedRoutedEventArgs(RoutedEvent routedEvent, bool oldValue, bool newValue, object source)
Parameter | Type | Description |
---|---|---|
routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
oldValue | bool | The previous value of the property being tracked as reported by an event. |
newValue | bool | The new value of the property being tracked as reported by an event. |
source | object | An alternate source that will be reported when the event is handled. |