In This Article

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