RibbonGroup 建構函式 (String, IEnumerable<RibbonItem>, ImageSource)
適用於版本2
初始化 RibbonGroup 類別的新執行個體。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Sub New ( _
label As String, _
items As IEnumerable(Of RibbonItem), _
icon As ImageSource _
)
'用途
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
)
參數
label
型別:System.String群組的標籤。
items
型別:System.Collections.Generic.IEnumerable<RibbonItem>群組中的項目。
icon
型別:System.Windows.Media.ImageSource群組的 32x32 影像。