Hi,
I have a gridview that is themed with Telerik Windows 7 theme, which is the general theme of the application and gets set at load time. I want to add another grid in the Row Details section, however I want this nested grid to have a different theme for clarity (office black, or the white theme from the WPF Telerik examples). Unfortunately, the nested gridview always take the same theme as the parent one. I have tried to set the style differently, but it didn’t work.
<Style x:Key="RowDetailGridViewStyle" TargetType="{x:Type Controls:RmpReadOnlyGridView}" BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Office_SilverTheme, ElementType=telerik:RadGridView}}">
Any suggestion what I should do?
Regards
<
telerik:RadDocking
x:Name
=
"radDock"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
>
<
telerik:RadDocumentPane
Header
=
"Document 1"
Title
=
"Document 1"
/>
<
telerik:RadDocumentPane
Header
=
"Document 2"
Title
=
"Document 2"
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
</
telerik:RadDocking
>
StyleManager.SetTheme(radDock,
new
OfficeBlack_Docking());
var collection =
new
ObservableCollection<MyUserControl>();
// Add some items to collection here
myRadComboBox.ItemsSource = collection;
<
telerik:RadComboBox
SelectionBoxTemplate
=
"{StaticResource MyUserControlDataTemplate}"
ItemTemplate
=
"{StaticResource MyUserControlDataTemplate}"
/>
<
DataTemplate
x:Key
=
"MyUserControlDataTemplate"
>
<
TextBlock
Text
=
"{Binding Name}"
/>
</
DataTemplate
>
My requirement is to set the visibility of RadTreeViewItem. For this sample shared at the http://www.telerik.com/community/forums/wpf/treeview/radtreeviewitem-visibility.aspx post helped me. I modified this sample to incorporate my requirement. I added one more property in BusinessItem for Visibility and bind it with the RadTreeViewItem. But problem is that RadTreeViewItem shows expander button (on left side) even if all its children are set to Collapsed.
I also need to hide expander button for a RadTreeViewItem if all its children are collapsed.
<
telerik:InformationLayer
>
<
telerik:MapPolyline
Points
=
"{Binding MyPolyline}"
Fill
=
"Transparent"
Stroke
=
"Teal"
StrokeThickness
=
"1"
/>
</
telerik:InformationLayer
>
RenderOptions.SetBitmapScalingMode(oImage, BitmapScalingMode.LowQuality)