RibbonControlAdv OfficeMenu

I have an OfficeSplitButton on the MainPanel of a RibbonControlAdv.OfficeMenu.

When the cursor is moved over the OfficeSplitButton, the submenu is displayed. If the OfficeSplitButton is clicked (not on the small arrow section) the menu disappears.

I would like the submenu to display (or remain displayed) if the OfficeSplitButton is clicked.

Thanks,

Jerry




1 Reply

AD Administrator Syncfusion Team April 4, 2008 01:25 AM UTC

Hi Jerry,

Thank you for your interest in Syncfusion Products.

To show the subitems of the OfficeSplitButton in RibbonControlAdv when clicking it we need to explicitly show the OfficeMenu and OfficeSplitButton''s DropDown in OfficeSplitButton''s click event. The following code snippet illustrates this:


private void officeSplitButton1_Click(object sender, EventArgs e)
{
this.ribbonControlAdv1.OfficeMenu.Show();
this.officeSplitButton1.DropDown.Show();
}


Please let me know if any concerns.

Regards,
Vinoth


Loader.
Up arrow icon