We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Remove ToolStripEx from ribbonControlAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

114435 Nov 19,2013 07:23 PM UTC Nov 26,2013 03:43 AM UTC WinForms 1
loading
Tags: Tools
Ruben
Asked On November 19, 2013 07:23 PM UTC

Hello,

  I have a riboncontroAdv and added a few toolstriptabitem,  for each added toolstripex and toolstripbutton into, i need hide this button with the permision of DB.

My code
foreach (ToolStripTabItem toolStriptabItem in ribbonControlAdv.Header.MainItems)
 
But i need to foreach (ToolStripEx tab in toolStriptabItem.??) but not have Enumerator or similar to get the ToolStripEx in ToolStripTabItem.
Any idea.

Thanks
       


Kannan R [Syncfusion]
Replied On November 26, 2013 03:43 AM UTC

Hi Ruben,

 

Thank you for using Syncfusion products.

 

Query

Comments

I have a riboncontroAdv and added a few toolstriptabitem,  for each added toolstripex and toolstripbutton into, i need hide this button with the permision of DB.

My code
foreach (ToolStripTabItem toolStriptabItem in ribbonControlAdv.Header.MainItems)
 
But i need to foreach (ToolStripEx tab in toolStriptabItem.??) but not have Enumerator or similar to get the ToolStripEx in ToolStripTabItem.
Any idea.

Yes, we would like to let you know that it is necessary to retrieve ToolstripButton from ToolStripEx using foreach for the reported case.

 

At present, there is no enumerator for this retrieving toolstripitems in RibbonControlAdv.

 

Please let us know if you need any further assistance,

 

Regards,

Kannan.R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;