[]
Specifies the command used in a C1EditorToolStripButton.
public enum CommandButton
The CommandButton enumeration is used by the C1EditorToolStripButton to set associated with the command text, tooltip and image. The command defines also whether the button is checked or unchecked and whether the button is enabled or disabled.
The following code example demonstrates how to create a C1EditorToolStripButton and add it to a ToolStrip.
C1EditorToolStripButton button = new C1EditorToolStripButton();
button.Command = CommandButton.ClearFormatting;
button.Editor = c1Editor1;
toolStrip1.Items.Add(button);
Name | Description |
---|---|
AddComment | Adds comment. |
BigFont | Big font. |
Bold | Bold. |
Bookmark | Bookmark. |
BulletedList | Bulleted list. |
CellProperties | Cell properties. |
Center | Center. |
ClearFormatting | Clear formatting. |
ColumnProperties | Column properties. |
Copy | Copy. |
Cut | Cut. |
DecreaseIndent | Decrease indent. |
DeleteAllComments | Deletes all comments. |
DeleteColumn | Delete column. |
DeleteComment | Deletes the current comment. |
DeleteRow | Delete row. |
DeleteTable | Delete table. |
Design | Design view. |
Find | Find. |
FlashMovie | FlashMovie. |
Hyperlink | Hyperlink. |
IncreaseIndent | Increase indent. |
InsertColumnAfter | Insert column after. |
InsertColumnBefore | Insert column before. |
InsertRowAbove | Insert row above. |
InsertRowBelow | Insert row below. |
Italic | Italic. |
Justify | Justify. |
Left | Left. |
MoveNextComment | Moves to the next comment. |
MovePreviousComment | Moves to the previous comment. |
New | New file. |
None | Empty command. |
NumberedList | Numbered list. |
Open | Open file. |
Paste | Paste. |
Picture | Picture. |
Preview | Preview. |
Print. |
|
Redo | Redo. |
Replace | Replace. |
ReplyComment | Replies to the comment. |
Right | Right. |
RowProperties | Row properties. |
Save | Save file. |
SelectAll | Select all. |
ShowComments | Shows comments. |
SmallFont | Small font. |
Source | Source view. |
Strikethrough | Strikethrough. |
Subscript | Subscript. |
Superscript | Superscript. |
Table | New table. |
TableProperties | Table properties. |
Underline | Underline. |
Undo | Undo. |