Ribbon for WinForms
Item(String) プロパティ
使用例 

C1.Win.Ribbon.4.5.2 アセンブリ > C1.Win.Ribbon 名前空間 > RibbonGalleryItemCollection クラス > Item プロパティ : Item(String) プロパティ
String containing the name of the item to locate (case-sensitive).
Gets the first RibbonGalleryItem with the specified name.
シンタックス
'宣言
 
Public Overloads ReadOnly Property Item( _
   ByVal name As String _
) As RibbonGalleryItem
public RibbonGalleryItem Item( 
   string name
) {get;}

パラメータ

name
String containing the name of the item to locate (case-sensitive).

プロパティ値

The RibbonGalleryItem with the specified name.
解説

If an item with the specified name is not found, an System.ArgumentOutOfRangeException exception is thrown.

使用例
The example below shows how to get a reference to a RibbonGalleryItem using its name:
// 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"];
参照

RibbonGalleryItemCollection クラス
RibbonGalleryItemCollection メンバ
オーバーロード一覧