Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Setting up IGMenuItem ' Index
posted

I have to add some additional  item  in the MdiTabContextMenu  , so i override the OnInitializeContextMenu to do it.

But the Items i've added  appears in the end of the list , even if i set up their index property , it seems that it does not work at all.

Is there any other property that i've to configure to get my MenuItem in the rigth Index ?

Thanks

  • 48586
    posted

    Hello ,

    I have handled InitializeContextMenu event of the UltraTabbedMdiManger and I was  added there following code line :
    e.ContextMenu.MenuItems.Add(1, new MenuItem("Test Item"));
    And this insert a “Test Item” on the desired position.

    Let me know if you have any further questions.