Ticket Q311518
Visible to All Users

BackColor of the FindPanel when we use LookAndFeel

created 14 years ago

Hi,
How can I get the findPanel backcolor? Because I add a userControl on the findpanel but when I change skin, the backcolor of my usercontrol get the backcolor of xtraform and the findpanel has most often a different backcolor.
I search in the gridControl.appearence property but all backcolor = 0.
Can you help me?
thank you,
Gwenaël

Show previous comments (2)
DevExpress Support Team 14 years ago

    Hi Gwenael,
    To accomplish this task use the following approach:

    C#
    SkinElement element = GridSkins.GetSkin(gridControl1.LookAndFeel)[GridSkins.SkinGridGroupPanel]; Color color = element.Color.BackColor2;

    We hope that you find this information helpful.
    Thanks,
    Svetlana

      Hi Svetlana,
      thank you for your answer, this solution works well.

      DevExpress Support Team 14 years ago

        Hi,
        Please do not hesitate to contact us in case of any difficulty. We will be happy to help you resolve any problem! :)
        Thanks,
        Svetlana

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.