Ticket T311133
Visible to All Users

Skinning controls in LayoutControl

created 9 years ago

Hi,

I dropped a Skin Controller to my form to control the Skin in General.
Almost all controls reacts on it, except a cxButton which is contained within a layout control. I tried to check/uncheck the native style flag but nothing works at all - the interesting things is, that the other components contained at that layout contriol (such as edit controls) are reacting to the Skin Controller, so it does not seem that controls within a layout Controller do not react to Skin Controllers .
How can I make the button working just as the others do?

Regards Thomas

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

Hello,

When you put a button into our LayoutControl, the LayoutControl regulates the button work. So, to skin the button in this case, you need to create TdxLayoutCxLookAndFeel or TdxLayoutSkinLookAndFeel objects in TdxLayoutLookAndFeelList (you can do this via the LyoutControl's or LayoutItem's LayoutLookAndFeel property at design time).
In case TdxLayoutSkinLookAndFeel is used, LayoutControl or an Item will use TdxSkinController's settings. In other cases, it will be necessary to adjust the TdxLayoutCxLookAndFeel object as you wish.

    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.