menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ShortcutTextBox - API Reference

    Show / Hide Table of Contents

    Class ShortcutTextBox

    Represents a text box control that is used for key shortcuts.

    Inheritance
    System.Object
    TextBoxExt
    ShortcutTextBox
    Implements
    IThemeProvider
    System.ComponentModel.ISupportInitialize
    System.Runtime.Serialization.ISerializable
    IVisualStyle
    Inherited Members
    TextBoxExt.OnThemeNameChanged(String)
    TextBoxExt.GetControlName(String)
    TextBoxExt.ApplyScaleToControl(Single)
    TextBoxExt.OnGotFocus(EventArgs)
    TextBoxExt.GetActiveThemeName()
    TextBoxExt.OnMaximumSizeChanged(EventArgs)
    TextBoxExt.CreateAccessibilityInstance()
    TextBoxExt.OnMouseDown(MouseEventArgs)
    TextBoxExt.OnMouseEnter(EventArgs)
    TextBoxExt.OnMouseLeave(EventArgs)
    TextBoxExt.DefWndProc(Message)
    TextBoxExt.OnFontChanged(EventArgs)
    TextBoxExt.OnMinimumSizeChanged(EventArgs)
    TextBoxExt.OnCharacterCasingChanged(EventArgs)
    TextBoxExt.OnBorderSidesChanged(EventArgs)
    TextBoxExt.OnBorderColorChanged(EventArgs)
    TextBoxExt.OnBorder3DStyleChanged(EventArgs)
    TextBoxExt.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    TextBoxExt.OnCanApplyThemeChanged(Boolean)
    TextBoxExt.OnCanOverrideStyleChanged(Boolean)
    TextBoxExt.OnThemesEnabledChanged(EventArgs)
    TextBoxExt.OnParentChanged(EventArgs)
    TextBoxExt.OnEnabledChanged(EventArgs)
    TextBoxExt.OnPaint(PaintEventArgs)
    TextBoxExt.OnHandleCreated(EventArgs)
    TextBoxExt.OnHandleDestroyed(EventArgs)
    TextBoxExt.OnMultilineChanged(EventArgs)
    TextBoxExt.OnTextChanged(EventArgs)
    TextBoxExt.NCOverflowIndicatorPaint(Graphics, Rectangle, Rectangle)
    TextBoxExt.OnSizeChanged(EventArgs)
    TextBoxExt.OnBorderStyleChanged(EventArgs)
    TextBoxExt.OnLostFocus(EventArgs)
    TextBoxExt.BeginInit()
    TextBoxExt.EndInit()
    TextBoxExt.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    TextBoxExt.IThemeProvider.BaseThemeName
    TextBoxExt.ThemeStyle
    TextBoxExt.ControlName
    TextBoxExt.IsVisualStyleEnabled
    TextBoxExt.Font
    TextBoxExt.BeforeTouchSize
    TextBoxExt.EnableTouchMode
    TextBoxExt.CreateParams
    TextBoxExt.Metrocolor
    TextBoxExt.FocusBorderColor
    TextBoxExt.UseBorderColorOnFocus
    TextBoxExt.ShowOverflowIndicatorToolTip
    TextBoxExt.OverflowIndicatorToolTipText
    TextBoxExt.ShowOverflowIndicator
    TextBoxExt.DrawActiveWhenDisabled
    TextBoxExt.BorderSides
    TextBoxExt.Border3DStyle
    TextBoxExt.BorderColor
    TextBoxExt.OverflowIndicatorToolTip
    TextBoxExt.ThemesEnabled
    TextBoxExt.MaximumSize
    TextBoxExt.MinimumSize
    TextBoxExt.CharacterCasing
    TextBoxExt.CornerRadius
    TextBoxExt.NearImage
    TextBoxExt.ThemeName
    TextBoxExt.FarImage
    TextBoxExt.CanOverrideStyle
    TextBoxExt.CanApplyTheme
    TextBoxExt.Style
    TextBoxExt.IVisualStyle.VisualTheme
    TextBoxExt.Office2010ColorScheme
    TextBoxExt.Office2010ColorTable
    TextBoxExt.Office2007ColorScheme
    TextBoxExt.Office2007ColorTable
    TextBoxExt.Initializing
    TextBoxExt.BorderSidesChanged
    TextBoxExt.Border3DStyleChanged
    TextBoxExt.ThemeNameChanged
    TextBoxExt.BorderColorChanged
    TextBoxExt.ThemesEnabledChanged
    TextBoxExt.MaximumSizeChanged
    TextBoxExt.MinimumSizeChanged
    TextBoxExt.CharacterCasingChanged
    Namespace: Syncfusion.Windows.Forms.Edit.Dialogs
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class ShortcutTextBox : TextBoxExt, IThemeProvider, ISupportInitialize, ISerializable, IVisualStyle

    Constructors

    ShortcutTextBox()

    Initializes a new instance of in ShortcutTextBox class.

    Declaration
    public ShortcutTextBox()

    Properties

    EnteredKeys

    Gets the entered Keys sequence.

    Declaration
    public ShortcutTextBox.KeyState[] EnteredKeys { get; }
    Property Value
    Type Description
    ShortcutTextBox.KeyState[]

    Methods

    Dispose(Boolean)

    Clean up any resources being used.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    True to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    TextBoxExt.Dispose(Boolean)

    FriendlyNamedKeys(Keys)

    Gets friendly named keys.

    Declaration
    protected string FriendlyNamedKeys(Keys keys)
    Parameters
    Type Name Description
    System.Windows.Forms.Keys keys

    Keys.

    Returns
    Type Description
    System.String

    String with friendly named keys.

    IsDigit(String)

    Checks whether string is digit.

    Declaration
    protected bool IsDigit(string value)
    Parameters
    Type Name Description
    System.String value

    String to check.

    Returns
    Type Description
    System.Boolean

    True if string is digit; otherwise false.

    IsModifierKey(String)

    Checks whether string is modifier.

    Declaration
    protected bool IsModifierKey(string value)
    Parameters
    Type Name Description
    System.String value

    String to check.

    Returns
    Type Description
    System.Boolean

    True if string is modifier; otherwise false.

    ProcessDialogKey(Keys)

    Processes dialog key.

    Declaration
    protected override bool ProcessDialogKey(Keys keyData)
    Parameters
    Type Name Description
    System.Windows.Forms.Keys keyData

    Keys to process.

    Returns
    Type Description
    System.Boolean

    True if the key was processed by the control; otherwise, false.

    ResetSequence()

    Resets key sequence.

    Declaration
    protected void ResetSequence()

    UpdateText()

    Updates text according to the currently entered sequence.

    Declaration
    protected void UpdateText()

    WndProc(ref Message)

    Processes message from the keyboard hook.

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    The Windows Message to process.

    Overrides
    TextBoxExt.WndProc(ref Message)

    Implements

    IThemeProvider
    System.ComponentModel.ISupportInitialize
    System.Runtime.Serialization.ISerializable
    IVisualStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved