'Declaration
Public Overloads ReadOnly Property Item( _ ByVal name As String _ ) As RibbonGalleryItem
public RibbonGalleryItem Item( string name ) {get;}
Parameters
- name
- String containing the name of the item to locate (case-sensitive).
'Declaration
Public Overloads ReadOnly Property Item( _ ByVal name As String _ ) As RibbonGalleryItem
public RibbonGalleryItem Item( string name ) {get;}
If an item with the specified name is not found, an System.ArgumentOutOfRangeException exception is thrown.
// get the group that contains the button RibbonGroup g = c1Ribbon1.Tabs["Editor"].Groups["Font"]; // get the RibbonGallery within the group RibbonGallery gallery = (RibbonGallery)g.Items["Gallery"];