Click or drag to resize
Cimbalino ToolkitObservableBaseGetPropertyNameT Method
Extracts the name of a property from an expression.

Namespace: Cimbalino.Toolkit.Helpers
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
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: String
The 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