Ticket Q355054
Visible to All Users

Skin change event

created 13 years ago

Hi,
is there any event that I can use to detect when a skin or style is changed? I have some static Color properties that the application use to paint some custom controls and I initialize them with the current skin like this
BackColorReadOnly = CurrentSkin.TranslateColor(SystemColors.InactiveBorder);

and I'd need that event to refresh them.
Thanks in advance,
Giovanni Tresoldi

Show previous comments (1)

    Thank you very much!

      Hi Ted. in 20.1 this mechanism is now obsolete.
      What is the correct way to catch skin change events in 20.1?

      Kind Regards, Garry.

      DevExpress Support Team 5 years ago

        Hi,

        It seems that your current question and another one you posted in The UserLookAndFeel.Default.StyleChanged event is not raised if a palette is changed relate to the same thing. That is why I created a separate ticket on your behalf. We will answer you there shortly.

        P.S. We kindly ask you to create a new thread (How to catch the moment when a skin or palette is changed) for each theme you need our assistance with in the future.

        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.