'宣言 Public Shadows ReadOnly Default Property Item( _ ByVal key As String _ ) As ContextualTabGroup
public new ContextualTabGroup this[ string key ]; {get;}
Private xamRibbon As XamRibbon Private Sub RemoveContextualTabGroup() 'Code to Create XamRibbon object.. 'Remove ContextualTabGroup Dim CTG1 As ContextualTabGroup = xamRibbon.ContextualTabGroups(0) xamRibbon.ContextualTabGroups.Remove(CTG1) End Sub
XamRibbon xamRibbon; //Code to Create XamRibbon object.. //Remove ContextualTabGroup void RemoveContextualTabGroup() { ContextualTabGroup CTG1 = xamRibbon.ContextualTabGroups[0]; xamRibbon.ContextualTabGroups.Remove(CTG1); }