Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
800
Add content pane where offset from current visible panes.
posted

I have a pane where I am adding multiple instances of the pane to the docmgr as such this.xamDockManager1.Panes.Add(new MyPane());

Can you tell me how to not have second pane exactly overlap the first? Like to cascade them slightly?

 

<igDock:SplitPane x:Class="WPFApp.MyPane"              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"             xmlns:local="clr-namespace:WPFApp"             xmlns:igDock="http://infragistics.com/DockManager"              mc:Ignorable="d"              d:DesignHeight="300" d:DesignWidth="300"                   igDock:XamDockManager.InitialLocation="FloatingOnly"                   >     <igDock:XamDockManager.FloatingSize>         <Size Width="500" Height="400"></Size>     </igDock:XamDockManager.FloatingSize>

    <igDock:XamDockManager.FloatingLocation>         <Point X="300"                Y="300">         </Point>     </igDock:XamDockManager.FloatingLocation>

    <igDock:ContentPane AllowDocking="False" CloseAction="RemovePane">         <igDock:ContentPane.Content>

            <local:MyUserControl></local:MyUserControl>

        </igDock:ContentPane.Content>     </igDock:ContentPane> </igDock:SplitPane>