Ticket T224652
Visible to All Users

How to assign StyleController

created 10 years ago

[DevExpress Support Team: CLONED FROM T156596: add image in textedit]
hi

the question is about that stylrcontroller has just one option or more thanks

Comments (3)
DevExpress Support Team 10 years ago

    Hi,

    Your question is not entirely clear. If you mean how to assign StyleController to a control, first it is necessary to place StyleController onto a form and then assign it to the control by setting the BaseControl.StyleController property. Review the How to: Control Appearance of Multiple Controls via StyleController help article to learn how to do this in code.

    If that is not what you need, please explain your task in greater detail.

    hakan çiftçiler 10 years ago

      no ı mean when you click stylecontroller it shows you just one option  does it  has just one option like (none)…

      DevExpress Support Team 10 years ago

        Hello,

        As far as I understand, you have provided the screenshot that illustrates the StyleController property of your TextEdit. And you wish to know why this property does not have properties related to StyleController. If so, this property only shows whether or not StyleController is applied to your TextEdit. If you want to see all the StyleController properties, put StyleController onto a form and then assign it to the control by setting the BaseControl.StyleController property as Svetlana described. I have attached a video to illustrate this. Please try this approach and inform us of your results.
        I am looking forward to your reply.

        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.