This question is locked. New answers and comments are not allowed.
Hi To All,
I have a sample application, I want to change theme by selecting radCombobox , every thing is fine but when I change the theme the all Contents hides in RadPane that is inside RadDocking, I have attached the sample application. Please can any one help me to find solutiom?
I searched but no related thread found. I am also not at home in Telerik Controls.
My code that causes problem is as follows:
(I wanted to attach sample application but it does allow only limited extentions files)
I have a sample application, I want to change theme by selecting radCombobox , every thing is fine but when I change the theme the all Contents hides in RadPane that is inside RadDocking, I have attached the sample application. Please can any one help me to find solutiom?
I searched but no related thread found. I am also not at home in Telerik Controls.
My code that causes problem is as follows:
(I wanted to attach sample application but it does allow only limited extentions files)
<!--THEME SELECTOR COMBO BOX--> <TextBlock Text="Select Theme" /> <telerik:RadComboBox MinWidth="120" Margin="4" DisplayMemberPath="DisplayName" Text="Change Theme" ItemsSource="{Binding AvailableThemes}" SelectedItem="{Binding CurrentTheme, Mode=TwoWay}" /> </telerik:RadUniformGrid> <telerik:RadDocking Grid.Row="1" telerik:StyleManager.Theme="{Binding CurrentTheme.Theme, Mode=TwoWay}" HorizontalAlignment="Left"> <telerik:RadDocking.DocumentHost> <telerik:RadSplitContainer> <telerik:RadPaneGroup> <telerik:RadPane x:Name="SplitPane" Header="Document Pane2"> <telerik:RadPanelBar VerticalAlignment="Stretch" ExpandMode="Multiple" telerik:StyleManager.Theme="{Binding CurrentTheme.Theme}"> <telerik:RadPanelBarItem Header="Test 1" > <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> </telerik:RadPanelBarItem> <telerik:RadPanelBarItem Header="Test 2" > <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> </telerik:RadPanelBarItem> <telerik:RadPanelBarItem Header="Test 3" > <TextBlock Text="TEST" Height="90" /> </telerik:RadPanelBarItem> </telerik:RadPanelBar> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking.DocumentHost> <!--split container that causese problem--> <telerik:RadSplitContainer> <telerik:RadPaneGroup x:Name="Group1"> <telerik:RadPane x:Name="DocPane" Header="Document Pane"> <telerik:RadPanelBar VerticalAlignment="Stretch" ExpandMode="Multiple" telerik:StyleManager.Theme="{Binding CurrentTheme.Theme}"> <telerik:RadPanelBarItem Header="Test 1" > <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> </telerik:RadPanelBarItem> <telerik:RadPanelBarItem Header="Test 2" > <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> <telerik:RadMenuItem Header="System Setup" /> </telerik:RadPanelBarItem> <telerik:RadPanelBarItem Header="Test 3" > <TextBlock Text="TEST" Height="90" /> </telerik:RadPanelBarItem> </telerik:RadPanelBar> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking>