menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCurrencyTextBox - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCurrencyTextBox

    Adds grid cell-specific keyboard logic to a CurrencyTextBox.

    Inheritance
    System.Object
    TextBoxExt
    NumberTextBoxBase
    CurrencyTextBox
    GridCurrencyTextBox
    Implements
    IThemeProvider
    IVisualStyle
    System.ComponentModel.ISupportInitialize
    System.Runtime.Serialization.ISerializable
    Inherited Members
    CurrencyTextBox.AccessibilityEnabled
    CurrencyTextBox.ApplyFormatting(String)
    CurrencyTextBox.CanInsert(String, String, Int32)
    CurrencyTextBox.CheckForMinMax(Decimal)
    CurrencyTextBox.CheckForMinMax(String, Boolean)
    CurrencyTextBox.CheckIfNegative(String)
    CurrencyTextBox.CheckIsZero()
    CurrencyTextBox.ConcatModifiedText(String, String, String)
    CurrencyTextBox.CreateAccessibilityInstance()
    CurrencyTextBox.CurrencyDecimalDigits
    CurrencyTextBox.CurrencyDecimalSeparator
    CurrencyTextBox.CurrencyFormattedText(NumberFormatInfo, String, String, Decimal)
    CurrencyTextBox.CurrencyGroupSeparator
    CurrencyTextBox.CurrencyGroupSizes
    CurrencyTextBox.CurrencyNegativePattern
    CurrencyTextBox.CurrencyNegativePatterns
    CurrencyTextBox.CurrencyNumberDigits
    CurrencyTextBox.CurrencyPositivePattern
    CurrencyTextBox.CurrencySymbol
    CurrencyTextBox.DecimalValue
    CurrencyTextBox.DecimalValueChanged
    CurrencyTextBox.Dispose(Boolean)
    CurrencyTextBox.FormatChanged(String, NumberFormatInfo)
    CurrencyTextBox.GetControlName(String)
    CurrencyTextBox.GetDecimalDigits()
    CurrencyTextBox.GetDecimalSeparator(NumberFormatInfo)
    CurrencyTextBox.GetDecimalSeparatorPosition(String)
    CurrencyTextBox.GetGroupSeparator(NumberFormatInfo)
    CurrencyTextBox.GetNumberPartLength(Decimal)
    CurrencyTextBox.GetNumberValue(String, Int32)
    CurrencyTextBox.GetStartPositionJustNumbers(String, Int32)
    CurrencyTextBox.GetValue()
    CurrencyTextBox.HandleBackspaceKey()
    CurrencyTextBox.HandleCharacterKey(Char)
    CurrencyTextBox.HandleDeleteKey()
    CurrencyTextBox.InitializeNumberTextBox()
    CurrencyTextBox.IsAssignable(Object)
    CurrencyTextBox.IsDataPosition(String, Int32)
    CurrencyTextBox.IsInDecimalPosition(String, Int32)
    CurrencyTextBox.MaxNumberLength
    CurrencyTextBox.MaxValue
    CurrencyTextBox.MinValue
    CurrencyTextBox.NumberDigits
    CurrencyTextBox.OnDecimalValueChanged(EventArgs)
    CurrencyTextBox.OnEnabledChanged(EventArgs)
    CurrencyTextBox.OnEnter(EventArgs)
    CurrencyTextBox.OnGotFocus(EventArgs)
    CurrencyTextBox.OnKeyDown(KeyEventArgs)
    CurrencyTextBox.OnTextChanged(EventArgs)
    CurrencyTextBox.OnThemeNameChanged(String)
    CurrencyTextBox.OnValidated(EventArgs)
    CurrencyTextBox.OnValidating(CancelEventArgs)
    CurrencyTextBox.ParseForNegativeFormat(String, NumberFormatInfo)
    CurrencyTextBox.PositionCursorAfterEdit(Int32, Boolean, Boolean, Boolean)
    CurrencyTextBox.PrepareInsertString(String, Int32, Int32, String, Boolean)
    CurrencyTextBox.RemoveDecimalZeros
    CurrencyTextBox.RemoveFormatting(String, NumberFormatInfo, Boolean)
    CurrencyTextBox.ResetCurrencyDecimalDigits()
    CurrencyTextBox.ResetCurrencyDecimalSeparator()
    CurrencyTextBox.ResetCurrencyGroupSeparator()
    CurrencyTextBox.ResetCurrencyGroupSizes()
    CurrencyTextBox.ResetCurrencyNegativePattern()
    CurrencyTextBox.ResetCurrencyNumberDigits()
    CurrencyTextBox.ResetCurrencyPositivePattern()
    CurrencyTextBox.ResetCurrencySymbol()
    CurrencyTextBox.ResetMaxValue()
    CurrencyTextBox.ResetMinValue()
    CurrencyTextBox.ResetNumberDigits()
    CurrencyTextBox.ResetText()
    CurrencyTextBox.SetDecimalValue(Decimal)
    CurrencyTextBox.SetNullNumberValue()
    CurrencyTextBox.SetTextProperty(String)
    CurrencyTextBox.SetValue(Object)
    CurrencyTextBox.ShouldSerializeCurrencyDecimalDigits()
    CurrencyTextBox.ShouldSerializeCurrencyDecimalSeparator()
    CurrencyTextBox.ShouldSerializeCurrencyGroupSeparator()
    CurrencyTextBox.ShouldSerializeCurrencyGroupSizes()
    CurrencyTextBox.ShouldSerializeCurrencyNegativePattern()
    CurrencyTextBox.ShouldSerializeCurrencyNumberDigits()
    CurrencyTextBox.ShouldSerializeCurrencyPositivePattern()
    CurrencyTextBox.ShouldSerializeCurrencySymbol()
    CurrencyTextBox.ShouldSerializeMaxValue()
    CurrencyTextBox.ShouldSerializeMinValue()
    CurrencyTextBox.ShouldSerializeNumberDigits()
    CurrencyTextBox.ShouldSerializeText()
    CurrencyTextBox.Text
    CurrencyTextBox.ThemeStyle
    CurrencyTextBox.ToggleNegative(String)
    NumberTextBoxBase.AllowNull
    NumberTextBoxBase.ApplyFormattingAndSetText(String, String)
    NumberTextBoxBase.ApplyRightToLeft()
    NumberTextBoxBase.BackColor
    NumberTextBoxBase.BackGroundColor
    NumberTextBoxBase.BindableValue
    NumberTextBoxBase.BindableValueChanged
    NumberTextBoxBase.CanUndo
    NumberTextBoxBase.CheckDecimalPartLength(String)
    NumberTextBoxBase.CheckForMinMax(String)
    NumberTextBoxBase.CheckNullStringIsInRange(String)
    NumberTextBoxBase.ClipMode
    NumberTextBoxBase.ClipText
    NumberTextBoxBase.ClipTextChanged
    NumberTextBoxBase.CompleteInsertString(NumberModifyState)
    NumberTextBoxBase.CompleteSubtractKey(NumberModifyState)
    NumberTextBoxBase.ControlValidated
    NumberTextBoxBase.Copy()
    NumberTextBoxBase.Culture
    NumberTextBoxBase.CurrentCultureRefresh
    NumberTextBoxBase.CursorShouldBeMoved(Int32, Boolean)
    NumberTextBoxBase.Cut()
    NumberTextBoxBase.DefaultValue
    NumberTextBoxBase.Delete()
    NumberTextBoxBase.DeleteSelectedText()
    NumberTextBoxBase.DeleteSelectedText(String, Int32, Int32)
    NumberTextBoxBase.EndInit()
    NumberTextBoxBase.EnforceMinMaxDuringValidating
    NumberTextBoxBase.ForeColor
    NumberTextBoxBase.FormattedText
    NumberTextBoxBase.FormattedTextChanged
    NumberTextBoxBase.GetClipText()
    NumberTextBoxBase.GetClipText(Boolean)
    NumberTextBoxBase.GetCopyOfCurrentNumberFormatInfo()
    NumberTextBoxBase.GetDecimalSeparator()
    NumberTextBoxBase.GetDecimalSeparatorPosition(String, NumberFormatInfo)
    NumberTextBoxBase.GetFirstDataPos()
    NumberTextBoxBase.GetGroupSeparator()
    NumberTextBoxBase.GetInitialZeroCount(String, Int32)
    NumberTextBoxBase.GetNegativeInputPending()
    NumberTextBoxBase.GetNextDataPos(Int32, Boolean, Boolean, Boolean)
    NumberTextBoxBase.GetNumberPartLength(String)
    NumberTextBoxBase.GetPreserveData()
    NumberTextBoxBase.GetPrevDataPos(Int32)
    NumberTextBoxBase.GetTextBoxText()
    NumberTextBoxBase.GetTextBoxTextLength()
    NumberTextBoxBase.GetZeroNegative()
    NumberTextBoxBase.HandleBackspaceKeyChar()
    NumberTextBoxBase.HandleSubtractKey()
    NumberTextBoxBase.HideTrailingZeros
    NumberTextBoxBase.ignoreTextChange
    NumberTextBoxBase.initNumberFormatInfoObject
    NumberTextBoxBase.InsertString(String, Int32, Int32, String)
    NumberTextBoxBase.InsertString(String, Int32, Int32, String, Boolean)
    NumberTextBoxBase.IsNegative
    NumberTextBoxBase.IsNull
    NumberTextBoxBase.IsValidCharacter(Char)
    NumberTextBoxBase.IsValidNumberValue(String)
    NumberTextBoxBase.KeyValidate
    NumberTextBoxBase.m_bDecimalMode
    NumberTextBoxBase.MaxLength
    NumberTextBoxBase.MinMaxValidation
    NumberTextBoxBase.NegativeColor
    NumberTextBoxBase.NegativeInputPendingOnSelectAll
    NumberTextBoxBase.NegativeSign
    NumberTextBoxBase.NullFormat
    NumberTextBoxBase.NullState
    NumberTextBoxBase.NullString
    NumberTextBoxBase.NumberFormatInfoObject
    NumberTextBoxBase.OnBackColorChanged(EventArgs)
    NumberTextBoxBase.OnBindableValueChanged(EventArgs)
    NumberTextBoxBase.OnClipTextChanged(EventArgs)
    NumberTextBoxBase.OnControlValidated(String, String)
    NumberTextBoxBase.OnFormattedTextChanged(EventArgs)
    NumberTextBoxBase.OnKeyValidate(KeyValidateEventArgs)
    NumberTextBoxBase.OnMouseDown(MouseEventArgs)
    NumberTextBoxBase.OnReadOnlyChanged(EventArgs)
    NumberTextBoxBase.OnSetNull(SetNullEventArgs)
    NumberTextBoxBase.OnValidationError(ValidationErrorArgs)
    NumberTextBoxBase.OnValidationFailed
    NumberTextBoxBase.OverWriteText
    NumberTextBoxBase.ParseForNegativeFormat(String)
    NumberTextBoxBase.PositiveColor
    NumberTextBoxBase.ProcessKeyEventArgs(Message)
    NumberTextBoxBase.RaiseKeyValidate(Char, String, String)
    NumberTextBoxBase.RaiseSetNull(Object)
    NumberTextBoxBase.RaiseValidationError(String, Int32)
    NumberTextBoxBase.RaiseValidationError(String, Int32, String)
    NumberTextBoxBase.ReadOnlyBackColor
    NumberTextBoxBase.RefreshCulture()
    NumberTextBoxBase.RemoveFormatting(String)
    NumberTextBoxBase.RemoveFormatting(String, Boolean)
    NumberTextBoxBase.RemoveFormatting(String, NumberFormatInfo)
    NumberTextBoxBase.ResetControlBackColor()
    NumberTextBoxBase.ResetForeColor()
    NumberTextBoxBase.ResetNegativeColor()
    NumberTextBoxBase.ResetPositiveColor()
    NumberTextBoxBase.ResetReadOnlyBackColor()
    NumberTextBoxBase.ResetRightToLeft()
    NumberTextBoxBase.ResetZeroColor()
    NumberTextBoxBase.ReturnBaseText
    NumberTextBoxBase.RightToLeft
    NumberTextBoxBase.rollBackOperation
    NumberTextBoxBase.SelectAll()
    NumberTextBoxBase.SelectAllOnFocus
    NumberTextBoxBase.SelectedText
    NumberTextBoxBase.SetControlColor()
    NumberTextBoxBase.SetDefaultValue(Object)
    NumberTextBoxBase.SetEmptySelection(Int32)
    NumberTextBoxBase.SetModifiedText(String, String)
    NumberTextBoxBase.SetNegativeInputPending(Boolean)
    NumberTextBoxBase.SetNull
    NumberTextBoxBase.SetPreserveData(Boolean)
    NumberTextBoxBase.SetTextBoxText(String, String)
    NumberTextBoxBase.SetZeroNegative(Boolean)
    NumberTextBoxBase.ShouldSerializeNegativeColor()
    NumberTextBoxBase.ShouldSerializeNegativeSign()
    NumberTextBoxBase.ShouldSerializePositiveColor()
    NumberTextBoxBase.ShouldSerializeZeroColor()
    NumberTextBoxBase.SpecialCultureValue
    NumberTextBoxBase.supressKeyPress
    NumberTextBoxBase.Undo()
    NumberTextBoxBase.UseNullString
    NumberTextBoxBase.UseUserOverride
    NumberTextBoxBase.Validate(Boolean)
    NumberTextBoxBase.ValidationError
    NumberTextBoxBase.ZeroColor
    TextBoxExt.ApplyScaleToControl(Single)
    TextBoxExt.BeforeTouchSize
    TextBoxExt.BeginInit()
    TextBoxExt.Border3DStyle
    TextBoxExt.Border3DStyleChanged
    TextBoxExt.BorderColor
    TextBoxExt.BorderColorChanged
    TextBoxExt.BorderSides
    TextBoxExt.BorderSidesChanged
    TextBoxExt.CanApplyTheme
    TextBoxExt.CanOverrideStyle
    TextBoxExt.CharacterCasing
    TextBoxExt.CharacterCasingChanged
    TextBoxExt.ControlName
    TextBoxExt.CornerRadius
    TextBoxExt.CreateParams
    TextBoxExt.DefWndProc(Message)
    TextBoxExt.DrawActiveWhenDisabled
    TextBoxExt.EnableTouchMode
    TextBoxExt.FarImage
    TextBoxExt.FocusBorderColor
    TextBoxExt.Font
    TextBoxExt.GetActiveThemeName()
    TextBoxExt.Initializing
    TextBoxExt.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    TextBoxExt.IsVisualStyleEnabled
    TextBoxExt.IThemeProvider.BaseThemeName
    TextBoxExt.IVisualStyle.VisualTheme
    TextBoxExt.MaximumSize
    TextBoxExt.MaximumSizeChanged
    TextBoxExt.Metrocolor
    TextBoxExt.MinimumSize
    TextBoxExt.MinimumSizeChanged
    TextBoxExt.NCOverflowIndicatorPaint(Graphics, Rectangle, Rectangle)
    TextBoxExt.NearImage
    TextBoxExt.Office2007ColorScheme
    TextBoxExt.Office2007ColorTable
    TextBoxExt.Office2010ColorScheme
    TextBoxExt.Office2010ColorTable
    TextBoxExt.OnBorder3DStyleChanged(EventArgs)
    TextBoxExt.OnBorderColorChanged(EventArgs)
    TextBoxExt.OnBorderSidesChanged(EventArgs)
    TextBoxExt.OnBorderStyleChanged(EventArgs)
    TextBoxExt.OnCanApplyThemeChanged(Boolean)
    TextBoxExt.OnCanOverrideStyleChanged(Boolean)
    TextBoxExt.OnCharacterCasingChanged(EventArgs)
    TextBoxExt.OnFontChanged(EventArgs)
    TextBoxExt.OnHandleCreated(EventArgs)
    TextBoxExt.OnHandleDestroyed(EventArgs)
    TextBoxExt.OnLostFocus(EventArgs)
    TextBoxExt.OnMaximumSizeChanged(EventArgs)
    TextBoxExt.OnMinimumSizeChanged(EventArgs)
    TextBoxExt.OnMouseEnter(EventArgs)
    TextBoxExt.OnMouseLeave(EventArgs)
    TextBoxExt.OnMultilineChanged(EventArgs)
    TextBoxExt.OnPaint(PaintEventArgs)
    TextBoxExt.OnParentChanged(EventArgs)
    TextBoxExt.OnSizeChanged(EventArgs)
    TextBoxExt.OnThemesEnabledChanged(EventArgs)
    TextBoxExt.OverflowIndicatorToolTip
    TextBoxExt.OverflowIndicatorToolTipText
    TextBoxExt.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    TextBoxExt.ShowOverflowIndicator
    TextBoxExt.ShowOverflowIndicatorToolTip
    TextBoxExt.Style
    TextBoxExt.ThemeName
    TextBoxExt.ThemeNameChanged
    TextBoxExt.ThemesEnabled
    TextBoxExt.ThemesEnabledChanged
    TextBoxExt.UseBorderColorOnFocus
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridCurrencyTextBox : CurrencyTextBox, IThemeProvider, IVisualStyle, ISupportInitialize, ISerializable

    Constructors

    GridCurrencyTextBox(GridCurrencyTextBoxCellRenderer)

    Initializes a new GridCurrencyTextBox and attaches it to a GridCurrencyTextBoxCellRenderer.

    Declaration
    public GridCurrencyTextBox(GridCurrencyTextBoxCellRenderer parent)
    Parameters
    Type Name Description
    GridCurrencyTextBoxCellRenderer parent

    Currency text box cell renderer.

    Properties

    ParentCell

    Gets the associated cell renderer for the text box.

    Declaration
    public GridCurrencyTextBoxCellRenderer ParentCell { get; }
    Property Value
    Type
    GridCurrencyTextBoxCellRenderer

    Methods

    HandleDecimalKey()

    Invoked when the decimal key is pressed.

    Declaration
    protected override bool HandleDecimalKey()
    Returns
    Type Description
    System.Boolean

    True if the key is handled; false otherwise.

    Overrides
    CurrencyTextBox.HandleDecimalKey()
    Remarks

    The defined behavior for this key is to jump to the position immediately after the decimal position.

    IsInputKey(Keys)

    Determines whether the specified key is an input key or a special key that requires preprocessing.

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

    One of the key's values.

    Returns
    Type Description
    System.Boolean

    true if the specified key is an input key; otherwise, false.

    Paste()

    Pastes the data in the clipboard into the currency textbox cell.

    Declaration
    public override void Paste()
    Overrides
    NumberTextBoxBase.Paste()

    PreProcessMessage(ref Message)

    Preprocesses keyboard or input messages within the message loop before they are dispatched.

    Declaration
    public override bool PreProcessMessage(ref Message msg)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg

    Message to be preprocessed.

    Returns
    Type Description
    System.Boolean

    True if the operation is successful.

    ProcessCmdKey(ref Message, Keys)

    Processes a command key.

    Declaration
    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg

    A System.Windows.Forms.Message, passed by reference that represents the window message to process

    System.Windows.Forms.Keys keyData

    One of the System.Windows.Forms.Keys values that represents the shortcut key to process.

    Returns
    Type Description
    System.Boolean

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

    ProcessDialogKey(Keys)

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

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

    ProcessKeyMessage(ref Message)

    This method overrides the System.Windows.Forms.Control.ProcessKeyMessage(System.Windows.Forms.Message@) method and handles the key messages that are of interest to the NumberTextBox.

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

    The message that is to handled.

    Returns
    Type Description
    System.Boolean

    True if the key message is handled; false otherwise.

    Overrides
    NumberTextBoxBase.ProcessKeyMessage(ref Message)

    WndProc(ref Message)

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

    Implements

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