RibbonContextualTab Constructor
Applies to v2.
Initializes a new instance of the RibbonContextualTab 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 RibbonContextualTab(label, items)
public RibbonContextualTab(
string label,
IEnumerable<RibbonItem> items
)
public:
RibbonContextualTab(
String^ label,
IEnumerable<RibbonItem^>^ items
)
new :
label:string *
items:IEnumerable<RibbonItem> -> RibbonContextualTab
public function RibbonContextualTab(
label : String,
items : IEnumerable<RibbonItem>
)
Parameters
label
Type: System.StringLabel for the tab.
items
Type: System.Collections.Generic.IEnumerable<RibbonItem>Items in the tab.