Ticket Q500769
Visible to All Users

How to remove the "Theme Skin" skin group from the In-Ribbon gallery populated with available skins

created 12 years ago

Hi Team,

I really need your help in solving my problem. I want to remove "Theme Skin" in Windows Form Application from Skin Ribbon (screen shot attached for better understanding).

Im using DevExpress Windows Form Application and in that there are all skins by default. Could you please help me with it.

Thanks & Regards,
Sirajuddin

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hi,
To accomplish this task, remove the corresponding group from the In-Ribbon gallery group collection. See the code below for clarification:

Visual Basic
Const groupThemeSkinsIndex As Integer = 2 rgbiSkins.Gallery.Groups.RemoveAt(groupThemeSkinsIndex)

I hope this information helps.

    Show previous comments (1)
    DevExpress Support Team 12 years ago

      Our customers' compliments are the best reward for all of us. Please do not hesitate to contact us in the future. We are always happy to help you.

        Hi Yulia, where exactly is placed your code above?

        Sasha (DevExpress Support) 9 years ago

          Hello Silvio,
          You can add this code to the Form's Load event handler. Attached is a small sample that demonstrates this.

          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.