Ticket T651957
Visible to All Users

Apply skins to NavBar

created 7 years ago

Cant get skin to work in tdxnavbar. The documentation is … eccentric? It refers to the MasterLookAndFeel property but the tdxnavbar dont have any "tdxnavbar" property. I have a mainform with a tdx skin controller that i want to control the whole application, and its not problem to hook it up to any tdxlayout control, but to a tdsxnavbar?

I cant get my head around it, it making me believe that only if you know how its works you can understand the dokumentation.

It has a property called "TcxControl.LookAndFeel" that according to the dokumentation:

Description Use this property to determine the control's appearance and response to end-user actions. For detailed information on available look & feel options, refer to the TcxLookAndFeel class description.

But the value in the property is not changeable, so how can i "determine the control's appearance" with a static property? Its like try to open a door that is wielded shut.

Next i klick on "TcxLookAndFeel " in the help system. Its full of dead ends. It says "native windows style", what i that? I google but cant find anything. Is it a VCL feature, a express feature, what is it?

Next i go to "Kind". It says "Use this property to determine the control's appearance and response to end-user actions." ok, but when i change the value nothing happens.

Next comes Natve style. Agan "Use this property to determine the control's appearance and response to end-user actions.".  Totally not understandable and no change o do produces any change. I cant make any sense out of anything in the help file.

So pls provide step by step how i can hook the tdx navbar to my  tdx skin controller in the main form and rewrite the documentation so its understandable.

Regards, Pär

Answers approved by DevExpress Support

created 7 years ago (modified 7 years ago)

Hello,

To apply a skin to NavBar, it is necessary to set the NavBar.ViewStyle property to the corresponding View, for example, to the SkinExplorerBarView one. After that, the NavBar will apply a skin from a SkinController.
I've attached a video that demonstrates these actions.

Also, I've found the following threads in our Support Center about applying skins to TdxNavBar:
T343748: TdxNavBar Property SkinName Does Not Exist
Q531440: NavBar and Skins
T586747: How to apply a skin to a NavBar at runtime

Please take a look at them and their examples for additional information.

    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.