次の方法で共有


RibbonGalleryCategory.Items プロパティ

v2 に適用されます。

カテゴリの項目のシーケンスを取得します。

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

構文

'宣言
Public Property Items As ObservableCollection(Of Object)
    Get 
    Private Set
'使用
Dim instance As RibbonGalleryCategory 
Dim value As ObservableCollection(Of Object)

value = instance.Items
public ObservableCollection<Object> Items { get; private set; }
public:
property ObservableCollection<Object^>^ Items {
    ObservableCollection<Object^>^ get ();
    private: void set (ObservableCollection<Object^>^ value);
}
member Items : ObservableCollection<Object> with get, private set
function get Items () : ObservableCollection<Object>
private function set Items (value : ObservableCollection<Object>)

プロパティ値

型: System.Collections.ObjectModel.ObservableCollection<Object>
カテゴリの項目のシーケンス。

関連項目

参照

RibbonGalleryCategory クラス

Microsoft.WebMatrix.Extensibility 名前空間