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
60
XamDockManager as child of ContentPane - Unpinned Pane 'Flies In'
posted

When I use a XamDockManager as child of ContentPane the unpinned tab close / fly-in once any control is used on the pane - the parent XamDockManager unpinned pane work as expected is there a workaround for this? Here is sample which illustrates:


<igDock:XamDockManager Name="dataGridDockManager" FlyoutAnimation="Fade" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" >

<igDock:XamDockManager.Panes>

<igDock:SplitPane>

<igDock:TabGroupPane>

<igDock:ContentPane igDock:XamDockManager.InitialLocation="DockedLeft" IsPinned="False" AllowClose="False" CloseButtonVisibility="Hidden"

Header="Parent XamDockManager Unpinned Tab Stays Open" >

<Grid Background="Red">

<StackPanel>

<TextBlock>Pane stays open after control until focus is moved outside pane</TextBlock>

<Button Height="25" Width="75">Press Me</Button>

<CheckBox Height="25" Width="75">Press Me</CheckBox>

<RadioButton Height="25" Width="75">Press Me</RadioButton>

</StackPanel>

</Grid>

</igDock:ContentPane>

</igDock:TabGroupPane>

</igDock:SplitPane>

<igDock:SplitPane>

<igDock:ContentPane IsPinned="True" AllowClose="False" CloseButtonVisibility="Hidden" MinWidth="700"

Header="Test Pane 4" >

<Grid Margin="20" Background="Gray" >

<Grid>

<TextBlock>Child XamDockManager</TextBlock>

<igDock:XamDockManager FlyoutAnimation="Fade" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">

<igDock:XamDockManager.Panes>

<igDock:SplitPane>

<igDock:TabGroupPane>

<igDock:ContentPane igDock:XamDockManager.InitialLocation="DockedLeft" IsPinned="False" AllowClose="False" CloseButtonVisibility="Hidden"

Header="Child XamDockManager Unpinned Tab Doesn't Stay Open" >

<Grid Background="Red">

<StackPanel>

<TextBlock>Pane closes once any control is used</TextBlock>

<Button Height="25" Width="75">Press Me</Button>

<CheckBox Height="25" Width="75">Press Me</CheckBox>

<RadioButton Height="25" Width="75">Press Me</RadioButton>

</StackPanel>

</Grid>

</igDock:ContentPane>

</igDock:TabGroupPane>

</igDock:SplitPane>

<igDock:SplitPane>

<igDock:ContentPane IsPinned="True" AllowClose="False" CloseButtonVisibility="Hidden"

Header="Test Pane 4" MinWidth="600">

<Grid Background="Blue">

<TextBlock>Child XamDockManager Content</TextBlock>

</Grid>

</igDock:ContentPane>

</igDock:SplitPane>

</igDock:XamDockManager.Panes>

</igDock:XamDockManager>

</Grid>

</Grid>

</igDock:ContentPane>

</igDock:SplitPane>

</igDock:XamDockManager.Panes>

</igDock:XamDockManager>

Thanks

-Phil


Parents Reply Children
No Data