Skip to main content
A newer version of this page is available. .

CommandMetadataBuilderBase<T, TBuilder>.Parameter<TParameter>(Expression<Func<T, TParameter>>) Method

Specifies the ViewModel property.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v18.2.dll

Declaration

public TBuilder Parameter<TParameter>(
    Expression<Func<T, TParameter>> propertyExpression
)

Parameters

Name Type Description
propertyExpression Expression<Func<T, TParameter>>

A lambda expression that returns a ViewModel property.

Type Parameters

Name
TParameter

Returns

Type Description
TBuilder

The metadata builder instance.

See Also