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

Flyout.Document Property

Gets or sets a Document displayed within the current Flyout.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(null)]
public Document Document { get; set; }

#Property Value

Type Default Description
Document null

A Document displayed within the current Flyout.

#Remarks

Flyouts emulate simple Windows8-like message boxes and pop-ups or complex message boxes that require user interaction (like data input). In the latter case, you can assign a Document containing a User Control to your Flyout via the Document property. See the How To: Create a Message Box Flyout With User Control example for details.

Flyouts - document with custom buttons

For all Flyouts that contain Documents, use the WindowsUIView.ActivateContainer method to display them.

When displayed as a FlyoutStyle.MessageBox, Flyouts paint their bars with the same background color as their Flyout User Controls (see the figure below).

Flyouts - Background color

See Also