Skip to main content

ExpressionHelper.GetPropertyName(LambdaExpression) Method

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

Namespace: DevExpress.Mvvm.Utils

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

NuGet Package: DevExpress.Scaffolding.Core

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