Skip to main content

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

Returns a command metadata builder for a command property.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.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