Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
File menu Color in ultraToolbarsmanager
posted

Hi,

What is the color of file menu of the ultratoolbarsmanager (set to office2013 style). I want to set the selected/active rows in my wingrid the same color.

How can I do that?

  • 34690
    Verified Answer
    Offline posted

    Hello Reychler,

    I have been investigating into this issue, and the actual hex color of the file menu used in the default Office2013 style is "2a63b6". We also have a static Office2010ColorTable class that you can use with this that has a Colors collection and a static "ApplicationMenu2010ButtonBackColorGradientBrush" resource that can be used for this as well.

    The DisplayLayout of the UltraGrid has an Override.SelectedRowAppearance.BackColor and Override.ActiveRowAppearance.BackColor property that you can use this resource or the hex code with. In order to use the resource, you can use the following code:

    this.ultraGrid1.DisplayLayout.Override.SelectedRowAppearance.BackColor = Office2010ColorTable.Colors.ApplicationMenu2010ButtonBackColorGradientDark;


    this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance.BackColor = Office2010ColorTable.Colors.ApplicationMenu2010ButtonBackColorGradientDark;

    Please let me know if you have any other questions or concerns on this matter.