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
865
Content Pane header controls grayed out
posted

Using version 20091.2056; writing in C#.

I'm using a ContentPane and for some reason if I try to add it via the designer, I end up with a control that has the header controls grayed out meaning I can't unpin or close the control. 

If I create the components via code, I don't have the issue but I run into other time-consuming situations trying to do the entire layout via code. Would prefer not to have some of each either. Would like to lay it out in the designer.

Below are the controls up to and including the ContentPane. Any ideas what I'm doing wrong or if this is a bug and how to work around it?

Also, I really don't want the close button to be functional so would like to know how to access both to enable/disable via source. How to do that?

Thanks.

Allen

 <Grid Name="layoutRoot" Loaded ="Grid_Loaded" >

 

<Grid.ColumnDefinitions > <ColumnDefinition Width ="Auto" />

 

 

 

 

 

 

 

<ColumnDefinition Width ="Auto" />

 

<ColumnDefinition Width ="Auto" />

 

<ColumnDefinition Width ="*" />

 

</Grid.ColumnDefinitions >

 

<igDock:XamDockManager Name="xamDockManager1" Grid.Column ="0" >

 

<igDock:SplitPane HorizontalAlignment="Left" Name="splitPaneLeft"   VerticalAlignment="Top" Height="Auto" Width="Auto">

 

<igDock:ContentPane IsEnabled="True" AllowClose="False" Header="Filters" HorizontalAlignment="Left" Name="contentPaneLeft" VerticalAlignment="Top" AllowDockingLeft="True" AllowFloatingOnly="True">

 

 

 ...

Parents Reply Children