Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8290293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:45:52+00:00 2026-06-08T12:45:52+00:00

Need some help about this one. I have a Telerik:RadGridView control and define the

  • 0

Need some help about this one. I have a Telerik:RadGridView control and define the GridViewHeaderCell style of it in the resources

<Window.Resources>
   <LinearGradientBrush x:Key="HeaderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEBCD97" Offset="0.028"/>
        <GradientStop Color="#FFC89C22" Offset="1"/>
        <GradientStop Color="#FFC2AA39" Offset="0.452"/>
        <GradientStop Color="#FFC49B2A" Offset="0.676"/>
        <GradientStop Color="#FFCCB073" Offset="0.404"/>
        <GradientStop Color="White" Offset="0"/>
    </LinearGradientBrush>


   <Style TargetType="{x:Type telerik:GridViewHeaderCell}" x:Key="HeaderStyle">
        <Setter Property="Background" Value="{DynamicResource HeaderBrush}" />
    </Style>
</Window.Resources>

But I can’t access the HeaderStyle in my RadGridView to set the style of it

<telerik:RadGridView Name="radGridView1"  HeaderCellStyle="{StaticResource HeaderStyle}"  Loaded="radGridView1_Loaded_1"/>

This is a WPF Application and is there HeaderCellStyle property of RadGridView in WPF? Or am I missing telerik library that needs to be referenced? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:45:55+00:00Added an answer on June 8, 2026 at 12:45 pm

    The HeaderCellStyle is present in RadControls for WPF RadGridView. But its supported on a GridViewDataColumn or GridViewColumn level. Its not available on RadGridView level. You would need to add explicitly the gridview columns for your rad grid view and then add the headercellstyle. Here is what i was able to put together quickly.

    <telerik:RadGridView x:Name="radGridView" AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="First Name" DataMemberBinding="{Binding FirstName}" HeaderCellStyle="{StaticResource HeaderStyle}" />
                <telerik:GridViewDataColumn Header="Last Name" DataMemberBinding="{Binding LastName}" HeaderCellStyle="{StaticResource HeaderStyle}" />
                <telerik:GridViewDataColumn Header="Title" DataMemberBinding="{Binding Title}" HeaderCellStyle="{StaticResource HeaderStyle}" />
                <telerik:GridViewDataColumn Header="City" DataMemberBinding="{Binding City}" HeaderCellStyle="{StaticResource HeaderStyle}" />
                <telerik:GridViewDataColumn Header="Country" DataMemberBinding="{Binding Country}" HeaderCellStyle="{StaticResource HeaderStyle}" />
    
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    

    I have used the same styling you have provided and applied it to each column headers.

    Here is the output:

    RadGridView Header Styling

    Hope i was able to answer your question

    Lohith (Tech Evangelist, Telerik India)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i need some help on this. I have one web server and i
I need some help about WCF and authorization. Currently I have a client which
I need some help about RegExp in AS3. I have a simple pattern :
I need some help with PHP Class. I have limited knowledge about how it
Need some help, please. I have a line of horizontal thumbnails loaded as ONE
Need some help to solve this. I have a gridview and inside the gridview
Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded
I have not got a clue about this one and hopefully you can help
I need some help about xsl. I have a date attribute in source xml
need some help with a MYSQL call. In one of my tables, I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.