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

How do you hide a separator BarItem in the context menu

Thread ID:





103476 May 4,2012 02:37 PM UTC May 10,2012 10:46 AM UTC WinForms 1
Tags: GridControl
Bryan Burroughs
Asked On May 4, 2012 02:37 PM UTC

I've got a context menu in a grid where I want to conditionally display the items.  The menu is partially generated at runtime, and I can't just rebuild it when needed.  I created a separator BarItem like so:

   separatorItem = new BarItem("-");

In order to hide the item from the menu, I tried setting separatorItem.Visible to false, but the item still shows.

Ragamathulla B [Syncfusion]
Replied On May 10, 2012 10:46 AM UTC

Hi Bryen,

Thank you for your interest in syncfusion products.

Am afraid that am unable to reproduce your reported issue. So we request you to send us the reproducing sample so that we could sort out the cause of the issue and provide you a solution?

Let me know if you have any further concerns.


Ragamathullah B.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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