Skip to main content

TileControl.ContextButtonOptions Property

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

Namespace: DevExpress.XtraEditors

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 tiles, and panels containing these buttons.

Remarks

The TileControl.ContextButtons property allows you to specify the collection of context buttons displayed in the tiles of the TileControl. 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