Partager via


CustomTargetLabel.ProcessMnemonic Method (Char)

 

Processes a mnemonic character by taking into account the access key target control.

Namespace:   Microsoft.WindowsServerSolutions.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)]
protected override bool ProcessMnemonic(
    char charCode
)
protected:
[UIPermissionAttribute(SecurityAction::LinkDemand, Window = UIPermissionWindow::AllWindows)]
virtual bool ProcessMnemonic(
    wchar_t charCode
) override
<UIPermissionAttribute(SecurityAction.LinkDemand, Window := UIPermissionWindow.AllWindows)>
Protected Overrides Function ProcessMnemonic (
    charCode As Char
) As Boolean

Parameters

  • charCode
    Type: System.Char

    The character that is pressed.

Return Value

Type: System.Boolean

A System.Boolean: true if the command was processed; otherwise, false.

Remarks

If the associated target control is available at the time when the user activated this label by pressing a keyboard shortcut, the associated control is also activated. If the control is a button, a button click is performed. Other control types are selected.

See Also

CustomTargetLabel Class
Microsoft.WindowsServerSolutions.Controls Namespace

Return to top