InsertTable Element
Published: May 2010
Defines a menu control for inserting a table that contains a variable number of cells.
<InsertTable Alt="Text" Command="Text" CommandType="General | OptionSelection | IgnoredByMenu" CommandPreview="Text" CommandRevert="Text" Id="Text" MenuSectionInitialTitle="Text" MenuSectionTitle="Text" Sequence="Integer" />
Attribute | Description |
|---|---|
Alt | Optional. Alternative text for the control. |
Command | Optional. The name of the command to execute when the control is clicked. If the control is in a CommandUIDefinition element, the value of the Command attribute of the control should be the same as the value of the Command attribute of a corresponding CommandUIHandler element. |
CommandType | Optional. An enumeration value that specifies the type of command.
|
CommandPreview | Optional. The name of the command to execute to preview a selection. |
CommandRevert | Optional. The name of the command to execute to return to the state that existed before previewing a selection. |
Id | Required. A string that identifies the control. |
MenuSectionInitialTitle | Optional. The title of the menu section before table cells are selected, such as "Insert Table". |
MenuSectionTitle | Optional. The title of the menu section when table cells are selected. This could be a format string such as "Insert a {0} by {1} Table". |
Sequence | Optional. An integer that specifies the order of placement among sibling XML nodes. |
Controls (MenuSection) |