Skip to main content

ImageSlider.ContextButtonOptions Property

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Options")]
public ContextItemCollectionOptions ContextButtonOptions { get; }

Property Value

Type Description
ContextItemCollectionOptions

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

Remarks

The ImageSlider.ContextButtons property allows you to specify the collection of context buttons displayed in the image slider. The ContextButtonOptions property provides access to the settings applied to these buttons, and the 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