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.1.dll

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

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