DropDownMenu

Posted by: fsegui on 30 September 2020, 7:36 am EST

    • Post Options:
    • Link

    Posted 30 September 2020, 7:36 am EST

    Hello,

    Is it possible to link a C1ContextMenu to a Splitbutton dropdownmenu?

    What I want to achieve is when the user click on the split button, instead of showing the dropdownitems, I want to show a specific C1ContextMenu.

    Thanks

  • Posted 1 October 2020, 3:53 pm EST

    Hello,

    It is possible. You should create a custom control inheriting C1.Win.C1Input.C1SplitButton and add a method to simulate right mouse button click. Also, you would need to handle the DropDownOpened event and inside set its DroppedDown property to false.

    I have implemented this in attached application. So, please refer the same for code.

    Regards,

    Ruchir

    Customize_C1SplitButton_C1Win.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels