[]
        
(Showing Draft Content)

C1.Framework.MnemonicButtonElement

MnemonicButtonElement Class

ButtonElement that interprets an ampersand character (&) in the Text property to be an access key prefix character.

Inheritance
MnemonicButtonElement
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class MnemonicButtonElement : ButtonElement, ISupportUia, IToolTipElement, IUiaButton, IUiaInvokeProvider, IMnemonicElement

Constructors

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.

Properties

Name Description
HotkeyPrefix

Gets or sets the HotkeyPrefix value for inner elements.

Methods

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.