A newer version of this page is available. Switch to the current version.

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
)
Public Function Parameter(Of TParameter)(
    propertyExpression As Expression(Of Func(Of T, TParameter))
) As TBuilder

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