Finds a control that has the provided Ribbon
public System.Windows.Forms.Control FindItem(Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem ribbonItem);
Public Sub FindItem(ByVal ribbonItem As Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem) As System.Windows.Forms.Control
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);
Dim MyRibbonTableLayoutTab As TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab = New TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab()
Dim MyRibbonItem As TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem = New TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem()
MyRibbonTableLayoutTab.FindItem(MyRibbonItem)