PropertyChangedEventArgsExtensionsTryGetOldPropertyValue Method
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
public static bool TryGetOldPropertyValue(
this PropertyChangedEventArgs args,
out Object?? oldValue
)
<ExtensionAttribute>
Public Shared Function TryGetOldPropertyValue (
args As PropertyChangedEventArgs,
<OutAttribute> ByRef oldValue As Object
) As Boolean
public:
[ExtensionAttribute]
static bool TryGetOldPropertyValue(
PropertyChangedEventArgs^ args,
[OutAttribute] Object^% oldValue
)
[<ExtensionAttribute>]
static member TryGetOldPropertyValue :
args : PropertyChangedEventArgs *
oldValue : Object byref -> bool
- args PropertyChangedEventArgs
- The PropertyChangedEventArgs instance containing the event data.
- oldValue Object
- If the specified event args is a PropertyChangedExtendedEventArgs instance, then the property value before the change; otherwise, .
Boolean if the specified event
args is a
PropertyChangedExtendedEventArgs instance; otherwise,
.In Visual Basic and C#, you can call this method as an instance method on any object of type
PropertyChangedEventArgs. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).