RibbonGroup Constructor (String, IEnumerable<RibbonItem>)
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) _
)
'Usage
Dim label As String
Dim items As IEnumerable(Of RibbonItem)
Dim instance As New RibbonGroup(label, items)
public RibbonGroup(
string label,
IEnumerable<RibbonItem> items
)
public:
RibbonGroup(
String^ label,
IEnumerable<RibbonItem^>^ items
)
new :
label:string *
items:IEnumerable<RibbonItem> -> RibbonGroup
public function RibbonGroup(
label : String,
items : IEnumerable<RibbonItem>
)
Parameters
label
Type: System.StringLabel for the group.
items
Type: System.Collections.Generic.IEnumerable<RibbonItem>Items in the group.