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

MetadataBuilder<T>.Command(Expression<Func<T, ICommand>>) Method

Returns a command metadata builder for a command property.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v18.2.dll

Declaration

public CommandMetadataBuilder<T> Command(
    Expression<Func<T, ICommand>> propertyExpression
)

Parameters

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

A lambda expression which specifies a command property.

Returns

Type Description
CommandMetadataBuilder<T>

The command metadata builder.

See Also