The requested page is not available for the requested platform. You are viewing the content for Default platform.

BindableBase.GetPropertyName<T>(Expression<Func<T>>) Method

Returns the name of a property identified by a lambda expression.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v18.2.dll

Declaration

public static string GetPropertyName<T>(
    Expression<Func<T>> expression
)
Public Shared Function GetPropertyName(Of T)(
    expression As Expression(Of Func(Of T))
) As String

Parameters

Name Type Description
expression Expression<Func<T>>

A lambda expression selecting the property.

Returns

Type Description
String

The name of the property accessed by expression.

Type Parameters

Name Description
T
See Also