[]
ButtonElement that interprets an ampersand character (&) in the Text property to be an access key prefix character.
public class MnemonicButtonElement : ButtonElement, ISupportUia, IToolTipElement, IUiaButton, IUiaInvokeProvider, IMnemonicElement
Name | Description |
---|---|
MnemonicButtonElement() | Initializes a new MnemonicButtonElement. |
MnemonicButtonElement(Style) | Initializes a new MnemonicButtonElement with specified style. |
MnemonicButtonElement(Style, params object[]) | Initializes a new MnemonicButtonElement with specified style and content. |
MnemonicButtonElement(params object[]) | Initializes a new MnemonicButtonElement with specified content. |
Name | Description |
---|---|
HotkeyPrefix | Gets or sets the HotkeyPrefix value for inner elements. |
Name | Description |
---|---|
GetIconElement() | Element that displays C1Icon. |
GetImageElement(bool) | |
GetTextElement(bool) | Returns reference to the TextElement used to display text. |
HandleMnemonic() | Method that gets called when the user presses the hot key that corresponds to this Element. |
OnGotFocus(EventArgs) | Called by the host control when this Element receives the focus. |
OnLostFocus(EventArgs) | Called by the host control when this Element loses the focus. |