OfficeNavigationBar.OptionsPeekFormButtonPanel Property

Contains options related to the display of the Peek Form's built-in button panel.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Options")]
public FlyoutPanelButtonOptions OptionsPeekFormButtonPanel { get; }
<DXCategory("Options")>
Public ReadOnly Property OptionsPeekFormButtonPanel As FlyoutPanelButtonOptions

Property Value

Type Description
FlyoutPanelButtonOptions

An object that stores options related to the Peek Form's built-in button panel.

Remarks

The Peek Form (see OfficeNavigationBar.ShowPeekFormOnItemHover) supports a built-in button panel, which allows you to display custom buttons. These buttons have a flat appearance and are painted based on the current skin. To create and show these buttons, add buttons to the FlyoutPanelButtonOptions.Buttons collection and enable the FlyoutPanelButtonOptions.ShowButtonPanel option.

The button panel's position and height can be adjusted with the FlyoutPanelButtonOptions.ButtonPanelLocation and FlyoutPanelButtonOptions.ButtonPanelHeight properties. The alignment of buttons within the button panel is specified by the FlyoutPanelButtonOptions.ButtonPanelContentAlignment property.

To respond to button clicks, handle the OfficeNavigationBar.PeekFormButtonClick event.

See Also