Back to Devexpress

CommandAttribute Class

corelibraries-devexpress-dot-mvvm-dot-dataannotations-25376ee4.md

latest1.4 KB
Original Source

CommandAttribute Class

Allows you to generate commands from methods.

Namespace : DevExpress.Mvvm.DataAnnotations

Assembly : DevExpress.Mvvm.v25.2.dll

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

Declaration

csharp
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class CommandAttribute :
    Attribute
vb
<AttributeUsage(AttributeTargets.Method, AllowMultiple:=False)>
Public Class CommandAttribute
    Inherits Attribute

Remarks

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

Inheritance

Object Attribute CommandAttribute

See Also

CommandAttribute Members

DevExpress.Mvvm.DataAnnotations Namespace