Share via


RibbonMenuButton.Items Property

Applies to v2.

Gets a sequence of RibbonButtons to show when the menu-button is pressed.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Property Items As ObservableCollection(Of RibbonButton)
    Get 
    Private Set
'Usage
Dim instance As RibbonMenuButton 
Dim value As ObservableCollection(Of RibbonButton)

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

Property Value

Type: System.Collections.ObjectModel.ObservableCollection<RibbonButton>
A sequence of RibbonButtons to show when the menu-button is pressed.

See Also

Reference

RibbonMenuButton Class

Microsoft.WebMatrix.Extensibility Namespace