Skip to main content

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

Specifies the ViewModel property.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

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