| Visual Basic (Declaration) | |
|---|---|
Public Property CommandID As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int CommandID {get; set;} | |
The following lists the defined values for the default CommandBar buttons for the designer menu and toolbars.
| CommandBar Item | CommandID |
|---|---|
| New | 1000 |
| Open | 1001 |
| Save | 1002 |
| SelectAll | 1003 |
| Cut | 1004 |
| Copy | 1005 |
| Paste | 1006 |
| Delete | 1007 |
| Undo | 1008 |
| Redo | 1009 |
| ZoomOut | 1010 |
| ZoomIn | 1011 |
| ZoomCombo | 1012 |
| ActualSize | 1013 |
| FontNamesCombo | 1014 |
| FontSizesCombo | 1015 |
| Bold | 1016 |
| Italic | 1017 |
| Underline | 1018 |
| ForeColor | 1019 |
| BackColor | 1020 |
| AlignLeft | 1021 |
| AlignCenter | 1022 |
| AlignRight | 1023 |
| AlignJustify | 1024 |
| Indent | 1025 |
| Outdent | 1026 |
| AlignToGrid | 1027 |
| AlignLefts | 1028 |
| AlignCenters | 1029 |
| AlignRights | 1031 |
| AlignTops | 1032 |
| AlignMiddles | 1033 |
| AlignBottoms | 1034 |
| BringToFront | 1035 |
| SendToBack | 1036 |
| Menu Items | CommandID |
|---|---|
| File | 1037 |
| Export | 1038 |
| Edit | 1039 |