Home Forums WinForms controls Xceed Grid for WinForms Need help about adjust color of scrollbar and column header

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

    Hi, All
    I need help on next issue:
    i use trial Xceed grid in my windows forms application.
    I want to apply dark styles for my grid.
    To do this i use for UIStyle property WindowsClassic or System value
    and set “Black” value for background colors of grid and background color of column header row. It works fine, but in this case i get standard color of the scrollbars (not black as i want, but light – gray).
    To solve this problem i prepare my own resource assembly with good images for scrollbars.
    i do this in the following way:

    1.create class in library project
    public class TestTheme : Xceed.UI.Classic.ClassicTheme
    {
    }
    2. Exstract standard resource file from Xceed.UI assembly
    3. Changed needed resources for scrollbar.
    4. Added new resources to library project and build new resource assembly.
    When i set UIStyle property to ResourceAssembly value by next code

    masterDetailGrid.ResourceAssembly = Assembly.LoadFrom(pathToStyleFile);
    masterDetailGrid.UIStyle = UIStyle.ResourceAssembly;

    i get perfect results for my scrolls, but color of column header row changed from black to other color.

    Can you give me some advice how to implement my issue (black column header row and black scrollbars using Xceed) .?
    If you help me i’ll buy your grid.

    Best Regards,
    Fedir Chaban
    Developer of Devcom Ltd.
    http://www.devcom.com

    Imported from legacy forums. Posted by Fedir (had 2325 views)

    User (Old forums)
    Member
    Post count: 23064

    If you are using Grid 3.5, you can try to set the OverrideUIStyle property on ColumnManagerRow to true, and set the BackColor to Black.

    Imported from legacy forums. Posted by André (had 222 views)

    User (Old forums)
    Member
    Post count: 23064

    Thank you for answer.
    We use Grid 3.2.
    But i have find compatible solution already(before your replay).
    One more time thank’s.

    Fedir

    Imported from legacy forums. Posted by Fedir (had 3330 views)

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