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.v24.2.dll
Declaration
[DefaultValue(null)]
[DXCategory("Behavior")]
public Control MaximizedControl { get; set; }
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.
See the Widget View topic for the details.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MaximizedControl property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.