Skip to main content

RepositoryItemPictureEdit.ContextButtonOptions Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Description
ContextItemCollectionOptions

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

Remarks

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