オーバーロード | 解説 |
---|---|
Add(String) | 指定したキーを持つ ContextualTabGroup を作成して追加します。 |
Add(ContextualTabGroup) | Adds an object to the end of the Collection. System.Collections.ObjectModel.Collection<ContextualTabGroup>から継承されます。 |
Private xamRibbon As XamRibbon 'Code to Create XamRibbon object.. Private Sub addContextualTabGroup() 'Add ContextualTabGroup Dim contextualTG As New ContextualTabGroup() contextualTG.Caption = "Sample CTG" contextualTG.Key = "CG1" contextualTG.BaseBackColor = Colors.Aqua contextualTG.IsVisible = True xamRibbon.ContextualTabGroups.Add(contextualTG) End Sub
XamRibbon xamRibbon; //Code to Create XamRibbon object.. //Add ContextualTabGroup private void addContextualTabGroup() { ContextualTabGroup contextualTG = new ContextualTabGroup(); contextualTG.Caption = "Sample CTG"; contextualTG.Key = "CG1"; contextualTG.BaseBackColor = Colors.Aqua; contextualTG.IsVisible = true; xamRibbon.ContextualTabGroups.Add(contextualTG); }