CommandButton is a general purpose button which raises an event when clicked. CommandButton may have a subordinate button. The sub button can be clicked independently of the main button. When the main button is depressed, the sub button is also drawn in the depressed state. A
| Property | Description |
|---|---|
| Image | An image can be displayed on the surface of the CommandButton. The image can be located above, below, to the left or right of the Text. |
| Text | Text can be displayed on the surface of the CommandButton. The text can be located above, below, to the left or right of the Image. The text wraps if necessary. |
| SubButtonPosition | A CommandButton can have a sub button. The sub button is clicked independently of the main button. When, however, the main button is clicked the sub button is also shown as depressed. The sub button can be located at the top, bottom, left or right of the main button. |
| Padding | Padding is used to add empty space around the edge of the CommandButton. |
| ButtonStyle | The ButtonStyle property determines the appearance of the CommandButton. |
| MenuPosition | A |