Setting MDIBounds in WPF Tabbed MDI Form (DocumentContainer)

7 May 20211 minute to read

This property helps the Document Container control in properly placing its elements within the container.

The general syntax of the MDI bound property is given below.



  • The first two values (a and b) stands for X and Y co-ordinates for the MDI bounds.
  • The second two values(c and d) stands for width and height of the element in a Document Container.

To set the MDI Bounds, use the following code snippet.

  • XAML
  • <!-- Adding Document Container -->
    <syncfusion:DocumentContainer Name="DocContainer"  Mode="MDI">
    <FlowDocumentScrollViewer Syncfusion:DocumentContainer.MDIBounds="0,0,200,300">