次の方法で共有


RibbonButtonGallery.Categories プロパティ

v2 に適用されます。

リボン ギャラリーのカテゴリ セットを取得または設定します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Public Property Categories As IEnumerable(Of RibbonGalleryCategory)
    Get 
    Private Set
'使用
Dim instance As RibbonButtonGallery 
Dim value As IEnumerable(Of RibbonGalleryCategory)

value = instance.Categories
public IEnumerable<RibbonGalleryCategory> Categories { get; private set; }
public:
property IEnumerable<RibbonGalleryCategory^>^ Categories {
    IEnumerable<RibbonGalleryCategory^>^ get ();
    private: void set (IEnumerable<RibbonGalleryCategory^>^ value);
}
member Categories : IEnumerable<RibbonGalleryCategory> with get, private set
function get Categories () : IEnumerable<RibbonGalleryCategory>
private function set Categories (value : IEnumerable<RibbonGalleryCategory>)

プロパティ値

型: System.Collections.Generic.IEnumerable<RibbonGalleryCategory>
リボン ギャラリーのカテゴリ セット。

関連項目

参照

RibbonButtonGallery クラス

Microsoft.WebMatrix.Extensibility 名前空間