PropertyChangedEventArgsExtensionsTryGetNewPropertyValue Method
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static bool TryGetNewPropertyValue(
this PropertyChangedEventArgs args,
out Object?? newValue
)
<ExtensionAttribute>
Public Shared Function TryGetNewPropertyValue (
args As PropertyChangedEventArgs,
<OutAttribute> ByRef newValue As Object
) As Boolean
public:
[ExtensionAttribute]
static bool TryGetNewPropertyValue(
PropertyChangedEventArgs^ args,
[OutAttribute] Object^% newValue
)
[<ExtensionAttribute>]
static member TryGetNewPropertyValue :
args : PropertyChangedEventArgs *
newValue : Object byref -> bool
- args PropertyChangedEventArgs
- The PropertyChangedEventArgs instance containing the event data.
- newValue Object
- If the specified event args is a PropertyChangedExtendedEventArgs instance, then the property value after 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).