<
telerik:RadGridView
Name
=
"ExceptionsListBox"
IsReadOnly
=
"True"
UseLayoutRounding
=
"False"
EnableRowVirtualization
=
"True"
AutoGenerateColumns
=
"False"
RowIndicatorVisibility
=
"Collapsed"
Background
=
"#FF202020"
RowHeight
=
"20"
GroupPanelBackground
=
"#FF202020"
GroupPanelForeground
=
"white"
telerik:StyleManager.Theme
=
"Expression_Dark"
>
<
telerik:RadGridView.Resources
>
<
Style
TargetType
=
"telerik:GridViewHeaderRow"
>
<
Setter
Property
=
"MinHeight"
Value
=
"15"
/>
</
Style
>
</
telerik:RadGridView.Resources
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding TruckCode}"
Header
=
"Truck"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Content}"
Header
=
"Content"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
Thanks for any help.
6 Answers, 1 is accepted
You could change the height of the Group Panel by defining a style targeting the "GridViewGroupPanel" element.
For example:
<
Grid.Resources
>
<
Style
TargetType
=
"telerik:GridViewGroupPanel"
>
<
Setter
Property
=
"Height"
Value
=
"60"
/>
</
Style
>
</
Grid.Resources
>
This setting will be applied for all the GridViews defined in the Grid.
Regards,
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Here is the code I am using...I set the height of the panel unreasonably small and it still wont change.
<
telerik:RadGridView
Name
=
"ExceptionsListBox"
IsReadOnly
=
"True"
UseLayoutRounding
=
"False"
EnableRowVirtualization
=
"True"
AutoGenerateColumns
=
"False"
RowIndicatorVisibility
=
"Collapsed"
Background
=
"#FF202020"
RowHeight
=
"20"
GroupPanelBackground
=
"#FF202020"
GroupPanelForeground
=
"white"
telerik:StyleManager.Theme
=
"Expression_Dark"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding TruckCode}"
Header
=
"Truck"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Content}"
Header
=
"Content"
/>
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.Resources
>
<
Style
TargetType
=
"telerik:GridViewHeaderRow"
>
<
Setter
Property
=
"MinHeight"
Value
=
"15"
/>
</
Style
>
<
Style
TargetType
=
"telerik:GridViewGroupPanel"
>
<
Setter
Property
=
"Height"
Value
=
"10"
/>
</
Style
>
</
telerik:RadGridView.Resources
>
</
telerik:RadGridView
>
As the MinHeight for the GridViewGroupPanel is already set to 32, you should use MinHeight instead of Height.
For example:
<
Style
TargetType
=
"telerik:GridViewGroupPanel"
>
<
Setter
Property
=
"MinHeight"
Value
=
"10"
/>
</
Style
>
Please let me know how this works for you.
Regards,
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

<
Window
x:Class
=
"RadControlsWpfApp2.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
telerik:RadGridView
Name
=
"ExceptionsListBox"
IsReadOnly
=
"True"
UseLayoutRounding
=
"False"
EnableRowVirtualization
=
"True"
AutoGenerateColumns
=
"False"
RowIndicatorVisibility
=
"Collapsed"
Background
=
"#FF202020"
RowHeight
=
"20"
GroupPanelBackground
=
"#FF202020"
GroupPanelForeground
=
"white"
telerik:StyleManager.Theme
=
"Expression_Dark"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding TruckCode}"
Header
=
"Truck"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Content}"
Header
=
"Content"
/>
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.Resources
>
<
Style
TargetType
=
"telerik:GridViewHeaderRow"
>
<
Setter
Property
=
"MinHeight"
Value
=
"15"
/>
</
Style
>
<
Style
TargetType
=
"telerik:GridViewGroupPanel"
>
<
Setter
Property
=
"MinHeight"
Value
=
"10"
/>
<
Setter
Property
=
"Height"
Value
=
"10"
/>
</
Style
>
</
telerik:RadGridView.Resources
>
</
telerik:RadGridView
>
</
Grid
>
</
Window
>
I do not see the attached project that is why I created a test project based on your code snippet. In it the height is set to "10" as expected. Would you please check it and let me know what I should change in order to observe the issue at your end?
All the best,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Thanks again!