Skip to main content
Bar

GalleryItem.Command Property

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

Namespace: DevExpress.Xpf.Bars

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

#Declaration

public ICommand Command { get; set; }

#Property Value

Type Description
ICommand

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

#Remarks

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.

#Implements

See Also