This question is locked. New answers and comments are not allowed.
Hi,
How to center align the header text in a RadGridView. I tried setting the HorizontalAlignment property of the HeaderRowStyle, but it center align the entire header as opposed to the text in the header.
This what I am doing:
How to center align the header text in a RadGridView. I tried setting the HorizontalAlignment property of the HeaderRowStyle, but it center align the entire header as opposed to the text in the header.
This what I am doing:
<Grid.Resources><Style TargetType="gridView:GridViewHeaderRow" x:Key="HeaderRowStyle"> <Setter Property="HorizontalAlignment" Value="Center"/> </Style></Grid.Resources>
<telerikGrid:RadGridView x:Name="radGridView" HeaderRowStyle="{StaticResource HeaderRowStyle}" ></telerikGrid:RadGridView>
Please help.
Thanks,
Piyush
