A newer version of this page is available. Switch to the current version.

GalleryItem.Command Property

Gets or sets the command to invoke when the gallery item is clicked.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.2.dll


public ICommand Command { get; set; }

Property Value

Type Description

The ICommand object to invoke when the gallery item is clicked.


When invoking the gallery item’s functionality, the command is executed first. Then, the GalleryItem.Click event fires. You can optionally specify the object on which to execute the command via the GalleryItem.CommandTarget property or set additional command parameters via the GalleryItem.CommandParameter property. See the Commanding Overview MSDN topic to learn more.

See Also