This question is locked. New answers and comments are not allowed.
Hi
While changing the raddocking theme dynamically by combo box selectedvalue the radpane contents is getting disabled.please help me out from this
this is the code
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<telerik:RadComboBox x:Name="themesBox" Grid.Row="0" Margin="5" SelectedIndex="0">
<telerik:Office_BlackTheme />
<telerik:Office_BlueTheme />
</telerik:RadComboBox>
<telerik:RadDocking Grid.Row="1" telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" telerik:StyleManager.Theme="{Binding SelectedValue, ElementName=themesBox}" >
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup>
<telerik:RadDocumentPane Header="Document 1" Title="Document 1" />
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 300">
<telerik:RadPane Header="Pane Left 1" Content="Pane Left 1" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 100">
<telerik:RadPane Header="Pane Left 2" Content="Pane Left 2" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane Header="Pane Left 3">
//This button is getting disabled after changing the theme
<telerik:RadButton Height="50" Width="200" Content="test" />
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
<telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedRight">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="150, 200">
<telerik:RadPane Header="Pane Right 1" Content="Pane Right 1" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="250, 200">
<telerik:RadPane Header="Pane Right 2" Content="Pane Right 2" />
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
<telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="100, 200">
<telerik:RadPane Header="Pane Bottom 1" Content="Pane Bottom 1" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="300, 200">
<telerik:RadPane Header="Pane Bottom 2" Content="Pane Bottom 2" />
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
While changing the raddocking theme dynamically by combo box selectedvalue the radpane contents is getting disabled.please help me out from this
this is the code
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<telerik:RadComboBox x:Name="themesBox" Grid.Row="0" Margin="5" SelectedIndex="0">
<telerik:Office_BlackTheme />
<telerik:Office_BlueTheme />
</telerik:RadComboBox>
<telerik:RadDocking Grid.Row="1" telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" telerik:StyleManager.Theme="{Binding SelectedValue, ElementName=themesBox}" >
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup>
<telerik:RadDocumentPane Header="Document 1" Title="Document 1" />
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 300">
<telerik:RadPane Header="Pane Left 1" Content="Pane Left 1" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 100">
<telerik:RadPane Header="Pane Left 2" Content="Pane Left 2" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane Header="Pane Left 3">
//This button is getting disabled after changing the theme
<telerik:RadButton Height="50" Width="200" Content="test" />
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
<telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedRight">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="150, 200">
<telerik:RadPane Header="Pane Right 1" Content="Pane Right 1" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="250, 200">
<telerik:RadPane Header="Pane Right 2" Content="Pane Right 2" />
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
<telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="100, 200">
<telerik:RadPane Header="Pane Bottom 1" Content="Pane Bottom 1" IsPinned="False" />
</telerik:RadPaneGroup>
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="300, 200">
<telerik:RadPane Header="Pane Bottom 2" Content="Pane Bottom 2" />
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>