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);

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);