Conditionally Enabling/Disabling Context Menu Items

2 posts, 0 answers
  1. Chad Lazette
    Chad Lazette avatar
    1 posts
    Member since:
    Aug 2009

    Posted 02 Jul 2010 Link to this post

    I have a context menu attached to a grid view and everything is working well. The next task I need to address is, depending on certain properties of an object(s) that have been supplied as the datasource, some menu items may/may not be enabled.

    How can I accomplish this?

    Regards,
    Chad
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Jul 2010 Link to this post

    Hello Chad,

    Go through the following links which might help you in achieving the required functionality.
    Custom Context Menus
    Conditional Custom Context Menus


    -Shinu.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top