RibbonGroup-Konstruktor (String, IEnumerable<RibbonItem>, ImageSource)
Die folgenden Ausführungen gelten für v2.
Initialisiert eine neue Instanz der RibbonGroup-Klasse.
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
)
Parameter
label
Typ: System.StringDie Beschriftung für die Gruppe.
items
Typ: System.Collections.Generic.IEnumerable<RibbonItem>Elemente in der Gruppe.
icon
Typ: System.Windows.Media.ImageSourceEin Bild (32 x 32) für die Gruppe.