Flyout.Document Property

Gets or sets a Document displayed within the current Flyout.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(null)]
public Document Document { get; set; }
<DefaultValue(Nothing)>
Public Property Document As Document

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

Implements

DevExpress.XtraBars.Docking2010.Views.WindowsUI.IDocumentContainer.Document
See Also