DocumentPanel.MDILocation Attached Property
Gets or sets the location of an MDI child panel. This property is in effect when the group’s DocumentGroup.MDIStyle property is set to MDI. This is an attached property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v21.2.dll
Declaration
Returns
Type | Description |
---|---|
Point | An MDI child panel location. |
Remarks
The following code sample specifies the child panels’ MDILocation and MDISize properties:
<dx:ThemedWindow
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
<Grid>
<dxdo:DockLayoutManager>
<dxdo:LayoutGroup>
<dxdo:DocumentGroup>
<dxdo:DocumentPanel Caption="Document1" MDILocation="10,20" MDISize="300,200"/>
<dxdo:DocumentPanel Caption="Document2" MDILocation="350,100" MDISize="400,400"/>
</dxdo:DocumentGroup>
</dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
</Grid>
</dx:ThemedWindow>
See Also