RibbonGroup Constructor (String, IEnumerable<RibbonItem>, ImageSource)
Applies to v2.
Initializes a new instance of the RibbonGroup class.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Sub New ( _
label As String, _
items As IEnumerable(Of RibbonItem), _
icon As ImageSource _
)
'Usage
Dim label As String
Dim items As IEnumerable(Of RibbonItem)
Dim icon As ImageSource
Dim instance As New RibbonGroup(label, items, _
icon)
public RibbonGroup(
string label,
IEnumerable<RibbonItem> items,
ImageSource icon
)
public:
RibbonGroup(
String^ label,
IEnumerable<RibbonItem^>^ items,
ImageSource^ icon
)
new :
label:string *
items:IEnumerable<RibbonItem> *
icon:ImageSource -> RibbonGroup
public function RibbonGroup(
label : String,
items : IEnumerable<RibbonItem>,
icon : ImageSource
)
Parameters
label
Type: System.StringLabel for the group.
items
Type: System.Collections.Generic.IEnumerable<RibbonItem>Items in the group.
icon
Type: System.Windows.Media.ImageSourceA 32x32 image for the group.