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
210
XamDockManager with only one content pane
posted

I have a application with a xamDockManager and in it I've put a single ContentPane. That ContentPane is rendered correclty, but the close button is disabled, even if I set AllowClose="true" manually. This is my xaml code for this 

 

<

 

 

igDock:XamDockManager x:Name="startupManager"

 

 

 

VerticalAlignment="Stretch" Grid.Row="1"

 

 

 

Background="Black"> 

 

 

 

 

 

<igDock:ContentPane Header="Welcome" AllowClose="True">

 

 

 

 

<Grid> 

 

 

 

 

<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="24" FontWeight="Bold" Foreground="Red">WELCOME USER</TextBlock>

 </Grid> 

 

 

 

 

</igDock:ContentPane>

Can anyone explain this? Is invalid to put a ContentPane directly on a xamDocManager?

Thanks

 

 

 

 

 

 

 

</igDock:XamDockManager

 

>

 

 

Parents Reply Children