Ticket Q299497
Visible to All Users

How to change/remove the DevExpress Style caption from the Skin Menu/Drop-down gallery

created 14 years ago

How do I change/remove "DevExpress Style" wording from the Skin Menu/Drop down gallery ?
http://www.devexpress.com/Subscriptions/DXperience/WhatsNew2010v2/index.xml?page=35
I love your product!
But, I don't want to advertise your name to my customers. I thought that's why we pay you…so we can create our own products with your tools.
Otherwise…where does it end…
…are you going to add "Powered by DevExpress" to all my code/app/screens/etc. ?
Again…I really like the components, but I don't think you should name a skin the "DevExpress Style" skin.

Answers

created 14 years ago

Hi John,
Thank you for your message.
You can change a GalleryItem caption without any problem. For this it is sufficient to find an appropriate item by iterating through GalleryDropDown.Gallery.Groups and GalleryItemGroup.Items collections and to adjust the GalleryItem.Caption property :

C#
private void Form1_Load(object sender, EventArgs e) { SkinHelper.InitSkinGalleryDropDown(galleryDropDown1); SetGalleryItemCaption(galleryDropDown1, "DevExpress Style", "MyCaption"); } private void SetGalleryItemCaption(GalleryDropDown galleryDropDown, string oldCaption, string newCaption) { foreach(GalleryItemGroup group_ in galleryDropDown.Gallery.Groups) foreach(GalleryItem item_ in group_.Items) if(item_.Caption.Equals(oldCaption)) { item_.Caption = newCaption; return; } }

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

    Show previous comments (3)
    DevExpress Support Team 11 years ago

      Hello,

      This goal can be achieved in the same manner as in case of the DevExpress Style skin. I have modified the sample. Please check it.
      I am looking forward to your reply.

      ER ER
      erahim rayatparvar 11 years ago

        Hello Alexey Z
        very very tanks

        DevExpress Support Team 11 years ago

          Hello,

          I am happy to hear that my assistance was helpful to you. Feel free to contact us if you have additional questions.

          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.