WindowsUIButtonPanel.QueryPeekFormContent Event

Enables you to provide content for a Peek Form.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Layout")]
public event QueryPeekFormContentEventHandler QueryPeekFormContent
<DXCategory("Layout")>
Public Event QueryPeekFormContent As QueryPeekFormContentEventHandler

Event Data

The QueryPeekFormContent event's data class is DevExpress.XtraBars.Docking2010.QueryPeekFormContentEventArgs.

Remarks

The WindowsUIButtonPanel allows you to show Peek Forms for its buttons. The Peek Form can be shown manually by calling the WindowsUIButtonPanel.ShowPeekForm method or automatically if the WindowsUIButtonPanel.ShowPeekFormOnItemHover property is set to true.

To provide content for the Peek Form, assign the content to the event's Control parameter. This property accepts any System.Windows.Forms.Control object. If no content is specified, the Peek Form is not displayed.

See Also