public static RibbonItem GetHostRibbonItem(
System.Windows.Forms.Control control
)
'Declaration
Public Shared Function GetHostRibbonItem( _
ByVal control As System.Windows.Forms.Control _
) As RibbonItem
Parameters
control
Remarks
For example, the RibbonTextBox item uses the TextBox control internally. If you pass this TextBox to the GetHostRibbonItem method it will return the owner RibbonTextBox item.