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.v20.1.dll

Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public Control MaximizedControl { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Behavior")>
Public Property MaximizedControl As Control

Property Value

Type Default Description
Control

null

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

Remarks

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