Articles in this section

How to set TDIFullScreen in Document Container

TDI Document display can be changed by TDIFullScreenMode property of Document Container. TDIFullScreenModes are ControlMode, WindowMode, None.

The same has been explained in the following code snippet:

XAML:

//Code Explains How set TDIFullscreen in Document Container
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 xmlns:syncfusion="http://schemas.syncfusion.com/wpf"    x:Class="MDILayout.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid>
<syncfusion:DocumentContainer Name="Document" Mode="TDI" TDIFullScreenMode="None"  syncfusion:DocumentContainer.Header="DocumentContainer">
<FlowDocumentScrollViewer syncfusion:DocumentContainer.Header="Sample">  <FlowDocument>
<Paragraph>
 TDIFullScreenMode is the property used to define the full-screen mode for TDI items
</Paragraph>
</FlowDocument>
</FlowDocumentScrollViewer>
<FlowDocumentScrollViewer syncfusion:DockingManager.Header="Feature">
<FlowDocument>
<Paragraph>
Welcome to Syncfusion
</Paragraph>
</FlowDocument>
</FlowDocumentScrollViewer>
 </syncfusion:DocumentContainer>
</Grid>
</Window>

C#:

//Code explains how to set TDIFullscreen in Document Container
namespace MDILayout
{   
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            Document.TDIFullScreenMode = FullScreenMode.ControlMode;
        }
    }
}

Output:

 ControlMode:

C:\Users\Ashok.Murugesan\Desktop\KBTask\13.4SprintKBTools\ScreenShot\control.png

 

 

WindowMode:

C:\Users\Ashok.Murugesan\Desktop\KBTask\13.4SprintKBTools\ScreenShot\window.png

 

None:

 

C:\Users\Ashok.Murugesan\Desktop\Switchmode\NoneScreenMode.png

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied