Skip to main content

CommandAttribute Class

Allows you to generate commands from methods.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.2.dll

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

#Declaration

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class CommandAttribute :
    Attribute

#Remarks

The CommandAttribute is only supported in POCO View Models and ViewModelBase descendants.

#Inheritance

Object
Attribute
CommandAttribute
See Also