Back to Devexpress

Flyout.Document Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-flyout.md

latest3.0 KB
Original Source

Flyout.Document Property

Gets or sets a Document displayed within the current Flyout.

Namespace : DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Documentnull

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.

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).

See Also

Flyout Class

Flyout Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace