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.v20.1.dll

Declaration

[DXCategory("Context Buttons")]
public StandaloneGalleryContextItemCollectionOptions ContextButtonOptions { get; }
<DXCategory("Context Buttons")>
Public ReadOnly Property ContextButtonOptions As StandaloneGalleryContextItemCollectionOptions

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