StringPropertyChangingRoutedEventArgs Class
Provides event arguments for a cancelable string property change routed event, indicating the old and new values.
public class StringPropertyChangingRoutedEventArgs : PropertyChangingRoutedEventArgs<string>
- Inheritance:
- object EventArgs RoutedEventArgs PropertyChangingRoutedEventArgs<string> object
Constructors
StringPropertyChangingRoutedEventArgs(string, string)
Initializes a new instance of the StringPropertyChangingRoutedEventArgs
class with the Cancel
property set to false
.
public StringPropertyChangingRoutedEventArgs(string oldValue, string newValue)
Parameter | Type | Description |
---|---|---|
oldValue | string | The current value of the property. |
newValue | string | The new value of the property that will be set if the property change is not cancelled. |
StringPropertyChangingRoutedEventArgs(RoutedEvent, string, string)
Initializes a new instance of the PropertyChangingRoutedEventArgs
class with the Cancel
property set to false
.
public StringPropertyChangingRoutedEventArgs(RoutedEvent routedEvent, string oldValue, string newValue)
Parameter | Type | Description |
---|---|---|
routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
oldValue | string | The current value of the property. |
newValue | string | The new value of the property that will be set if the property change is not cancelled. |
Inherited Members
- PropertyChangingRoutedEventArgs<string>.Cancel
- PropertyChangingRoutedEventArgs<string>.NewValue
- PropertyChangingRoutedEventArgs<string>.OldValue
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()