| ObservableBaseGetPropertyNameT Method |
Extracts the name of a property from an expression.
Namespace: Cimbalino.Toolkit.HelpersAssembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax protected static string GetPropertyName<T>(
Expression<Func<T>> propertyExpression
)
Parameters
- propertyExpression
- Type: System.Linq.ExpressionsExpressionFuncT
An expression identifying the property.
Type Parameters
- T
- The type of the property.
Return Value
Type:
StringThe name of a property from an expression.
Version Information Portable
Supported in: 4.5
Windows
Supported in: 10.0, 8.1
Windows Phone
Supported in: 8.1
Windows Phone Silverlight
Supported in: 8.1, 8.0
See Also