ExpressionHelper.GetPropertyName(LambdaExpression) Method

Converts a property reference represented as a lambda expression to a property name.

Namespace: DevExpress.Mvvm.Utils

Assembly: DevExpress.Mvvm.v21.1.DataModel.dll

Declaration

public static string GetPropertyName(
    LambdaExpression expression
)

Parameters

Name Type Description
expression LambdaExpression

A lambda expression that returns the property value.

Returns

Type
String
See Also