Skip to main content

Document.MaximizedControl Property

Gets or sets the control displayed within this Document in its maximized state.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public Control MaximizedControl { get; set; }

Property Value

Type Default Description
Control null

A Control that is the Document‘s content in its maximized state.


End-users can maximize Documents at runtime by double-clicking Document Headers, or clicking the corresponding Maximize button at the Document’s top right corner. To enable or disable this behavior, use the IDocumentDefaultProperties.CanMaximize property. While in their normal state, Widget Documents display the content assigned to the BaseDocument.Control property, and maximized Documents can display other content, assigned to the MaximizedControl property. You can use this feature to display a content preview for normal state Documents and full content for maximized Documents. If the MaximizedControl property is not specified, a maximized Document receives the same content as in its normal state. The animation below illustrates a Document displaying different content in its normal and maximized states.

WidgetView - Maximized Content GIF

See the Widget View topic for the details.

See Also