Home Forums WPF controls Xceed DataGrid for WPF Coloring a Header row in Xceed grid for WPF version 1.1

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24876 |

    Hello EveryBody

    I am using Xceed grid for WPF (Version 1.1). I need your help in finding the way to color header row on the grid. Can anybody help me to find out how to do this?

    Thanks in Advance !!!

    Regards,
    Sekhar

    Imported from legacy forums. Posted by Sekhar (had 463 views)

    Xceed Support
    Member
    Post count: 5658

    You can change the background of an item in the headers by setting its Background property to the desired color. However, you must keep the following in mind:

    <b>In some cases, property values defined in a style will not be applied to a target element. </b>

    These include, but are not limited to:
    – The element’s template does not have a binding for the specific property.
    – The element’s template ignores the property value.
    – The element’s template explicitly provides a value for the property.

    Refer to the <a href=”http://doc.xcd/XceedWpfDataGrid/Headers%20and%20Footers.html”>Headers and Footers</a> topic in the documentation for some examples.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2827 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.