protected AddContextMenuSeparator ( |
||
oTableContextCommandBar | ||
bAdd | System.Boolean | |
Résultat | void |
AddContextMenuSeparator
(
CommandBar oTableContextCommandBar,
Boolean bAdd
)
{
Debug.Assert(oTableContextCommandBar != null);
AssertValid();
// The button at the top of Excel's standard menu is Cut.
const Int32 CutCommandID = 21;
CommandBarButton oCutButton =
(CommandBarButton)oTableContextCommandBar.FindControl(
Missing.Value, CutCommandID, Missing.Value, Missing.Value,
false);
if (oCutButton != null)
{
oCutButton.BeginGroup = bAdd;
}
}