Finds a control that has the provided RibbonTableLayoutTab.RibbonItem identifier.

FindItem(Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem)

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

Parameters

Parameter Description
ribbonItem Specifies the identifier of the requested control.

Return Value

The requested control, if found. Otherwise null.

Examples

This example shows how to find an item with the help of the RibbonLayoutTab´s FindItem Method.

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)