Skip to main content

StandaloneGallery.ContextButtonOptions Property

Provides access to the settings applied to the context buttons displayed in the gallery images, and the panels containing these buttons.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Context Buttons")]
public StandaloneGalleryContextItemCollectionOptions ContextButtonOptions { get; }

Property Value

Type Description
DevExpress.XtraBars.Ribbon.Gallery.StandaloneGalleryContextItemCollectionOptions

A ContextItemCollectionOptions object that comprises settings applied to the context buttons displayed in the gallery images, and the panels containing these buttons.

Remarks

The StandaloneGallery.ContextButtons property allows you to specify the collection of context buttons displayed in the gallery images. The ContextButtonOptions property provides access to the settings applied to these buttons, and panels that contain them.

Using this property you can specify the following settings:

  • back color of each panel (top, bottom, etc.) that contains the context buttons, and the amount of empty space around the buttons;
  • animation type used to show the panels and the animation duration time;
  • glyph skinning feature for all context buttons. This setting can be overridden for a particular button using the ContextItem.AllowGlyphSkinning property;
  • button opacity in the normal, hovered and disabled states;
  • indent between the buttons;
  • HTML formatting feature for button captions and tool tips.
See Also