Back to Devexpress

PropertyDefinition.Command Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertydefinition-03cb69a0.md

latest1.5 KB
Original Source

PropertyDefinition.Command Property

Gets or sets the command assigned to the property. This is a dependency property.

Namespace : DevExpress.Xpf.PropertyGrid

Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public ICommand Command { get; set; }
vb
Public Property Command As ICommand

Property Value

TypeDescription
ICommand

An object that defines a command implementing the ICommand interface.

|

Remarks

When the Command property is set to a custom command, clicking the Menu Button executes this command instead of showing the Property Menu.

See Also

Property Menu

PropertyDefinition Class

PropertyDefinition Members

DevExpress.Xpf.PropertyGrid Namespace