Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsUIButtonPanel.PeekFormSize Property

Gets or sets a Peek Form’s size.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size PeekFormSize { get; set; }

#Property Value

Type Description
Size

A System.Drawing.Size structure that specifies a Peek Form’s size.

#Remarks

A Peek Form is a popup that allows you to display custom content for a WindowsUIButtonPanel‘s button when it is hovered over. If the PeekFormSize property is set to Size.Empty, a Peek Form’s size is automatically calculated to fit the contained control. The PeekFormSize property allows you to explicitly specify the size of a Peek Form. Content of a Peak Form that is about to be displayed can be specified using the WindowsUIButtonPanel.QueryPeekFormContent event.

See Also