[]
Simple button with text and image.
public class ButtonElement : StackPanel, ISupportUia, IToolTipElement, IUiaButton, IUiaInvokeProvider
| Name | Description |
|---|---|
| ButtonElement() | Initializes a new ButtonElement. |
| ButtonElement(Style) | Initializes a new ButtonElement with specified style. |
| ButtonElement(Style, params object[]) | Initializes a new ButtonElement with specified style and content. |
| ButtonElement(params object[]) | Initializes a new ButtonElement with specified content. |
| Name | Description |
|---|---|
| _toolTipText |
| Name | Description |
|---|---|
| Image | Gets or sets the Image to display. |
| Text | Gets or sets the string value to display. |
| ToolTipText | Gets or sets the string value to show as element tooltip. |
| UiaCall | Gets UIA calling mode. |
| Name | Description |
|---|---|
| GetDropDownButton(Size, ComboBoxState) | Returns drop-down button image. |
| GetImageElement() | Returns reference to the ImageElement used to display image. |
| GetImageElement(bool) | Returns reference to the ImageElement used to display image. |
| GetPushImage(Image, bool, PushButtonState) | Returns radiobox image. |
| GetPushImage(Size, string, Font, bool, PushButtonState) | Returns radiobox image. |
| GetTextElement() | Returns reference to the TextElement used to display text. |
| GetTextElement(bool) | Returns reference to the TextElement used to display text. |
| OnClick() | Fires the Click event. |
| OnKeyDown(KeyEventArgs) | Called by the host control when the user presses a key and this Element has the focus. |
| OnKeyUp(KeyEventArgs) | Called by the host control when the user releases a key and this Element has the focus. |
| OnMouseUp(MouseEventArgs) | Called by the host control when the user releases a mouse button over this Element. |
| PerformClick() | Fires the Click event. |
| Name | Description |
|---|---|
| Click | Occurs when the ButtonElement element is clicked. |