I created a new GridViewHeaderRow Style and use it in RadGridView. How to get , in page code, Height property of the the "CustomRadGridViewHeaderRow" style ? I need to know after Page_Loaded(), the GridViewHeaderRow Height .
Thanks!
<Style x:Key="CustomRadGridViewHeaderRow" TargetType="telerik:GridViewHeaderRow">
<Setter Property="Foreground" Value="Black" />
<Setter Property="FontSize" Value="11"></Setter>
<Setter Property="FontFamily" Value="Portable User Interface"></Setter>
<Setter Property="Background" Value="#E9D1D1D1" />
<Setter Property="BorderBrush" Value="White" />
<Setter Property="Height" Value="22" />
<Setter Property="MinHeight" Value="22" />
</Style>
<!--RadGridView-->
<telerik:RadGridView HeaderRowStyle="{StaticResource CustomRadGridViewHeaderRow}" x:Name="RadgrdInbox">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn x:Name="RadColumnInboxFrom" Width = "*" IsReadOnly="True" Header="From" CellTemplate="{StaticResource FromTemplate}"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>