Finds a control that has the provided Ribbon
public System.Windows.Forms.Control FindItem(Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem ribbonItem);
Parameter | Description |
---|---|
ribbon |
Specifies the identifier of the requested control. |
The requested control, if found. Otherwise null.
This example shows how to find an item with the help of the Ribbon
TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab MyRibbonTableLayoutTab = new TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab();
TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem MyRibbonItem = new TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem();
MyRibbonTableLayoutTab.FindItem(MyRibbonItem);