| PropertySupportGetEventArgsT Method |
Namespace:
TomsToolbox.Essentials
Assembly:
TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax public static PropertyChangedEventArgs GetEventArgs<T>(
Expression<Func<T>> propertyExpression
)
Public Shared Function GetEventArgs(Of T) (
propertyExpression As Expression(Of Func(Of T))
) As PropertyChangedEventArgs
Parameters
- propertyExpression
- Type: System.Linq.ExpressionsExpressionFuncT
The property expression (e.g. p => p.PropertyName) to extract the property name from.
Type Parameters
- T
- The object type containing the property specified in the expression.
Return Value
Type:
PropertyChangedEventArgsThe event arguments to pass to
PropertyChanged.
Exceptions See Also