WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DoubleTextBox

    Show / Hide Table of Contents

    Class DoubleTextBox

    Represents the class to apply the theme for DoubleTextBox control.

    Inheritance
    System.Object
    TextBoxExt
    NumberTextBoxBase
    NumericTextBox
    DoubleTextBox
    GridDoubleTextBox
    Implements
    IThemeProvider
    System.ComponentModel.ISupportInitialize
    System.Runtime.Serialization.ISerializable
    IVisualStyle
    Inherited Members
    NumericTextBox.SetNumberFormatInfoInitValues()
    NumericTextBox.ShouldSerializeNumberDecimalSeparator()
    NumericTextBox.ShouldSerializeNumberGroupSeparator()
    NumericTextBox.ShouldSerializeNumberGroupSizes()
    NumericTextBox.GetNumberStartPosition()
    NumericTextBox.GetNumberEndPosition()
    NumericTextBox.HandleCharacterKey(Char)
    NumericTextBox.NumberDecimalDigits
    NumericTextBox.NumberDecimalSeparator
    NumericTextBox.NumberGroupSeparator
    NumericTextBox.NumberGroupSizes
    NumericTextBox.NumberNegativePattern
    NumericTextBox.DeleteSelectionOnNegative
    NumberTextBoxBase.ignoreTextChange
    NumberTextBoxBase.rollBackOperation
    NumberTextBoxBase.initNumberFormatInfoObject
    NumberTextBoxBase.supressKeyPress
    NumberTextBoxBase.m_bDecimalMode
    NumberTextBoxBase.EndInit()
    NumberTextBoxBase.RaiseValidationError(String, Int32)
    NumberTextBoxBase.RaiseValidationError(String, Int32, String)
    NumberTextBoxBase.OnValidationError(ValidationErrorArgs)
    NumberTextBoxBase.Validate(Boolean)
    NumberTextBoxBase.RefreshCulture()
    NumberTextBoxBase.ApplyRightToLeft()
    NumberTextBoxBase.ResetRightToLeft()
    NumberTextBoxBase.ResetForeColor()
    NumberTextBoxBase.ShouldSerializeNegativeSign()
    NumberTextBoxBase.GetCopyOfCurrentNumberFormatInfo()
    NumberTextBoxBase.ShouldSerializeNegativeColor()
    NumberTextBoxBase.ResetNegativeColor()
    NumberTextBoxBase.ShouldSerializeZeroColor()
    NumberTextBoxBase.ResetZeroColor()
    NumberTextBoxBase.ShouldSerializePositiveColor()
    NumberTextBoxBase.ResetPositiveColor()
    NumberTextBoxBase.OnBindableValueChanged(EventArgs)
    NumberTextBoxBase.OnControlValidated(String, String)
    NumberTextBoxBase.SetDefaultValue(Object)
    NumberTextBoxBase.SetControlColor()
    NumberTextBoxBase.ApplyFormattingAndSetText(String)
    NumberTextBoxBase.SetModifiedText(String, String)
    NumberTextBoxBase.SetTextBoxText(String)
    NumberTextBoxBase.GetTextBoxText()
    NumberTextBoxBase.GetTextBoxTextLength()
    NumberTextBoxBase.RemoveFormatting(String)
    NumberTextBoxBase.RemoveFormatting(String, Boolean)
    NumberTextBoxBase.RemoveFormatting(String, NumberFormatInfo)
    NumberTextBoxBase.RemoveFormatting(String, NumberFormatInfo, Boolean)
    NumberTextBoxBase.ResetControlBackColor()
    NumberTextBoxBase.ResetReadOnlyBackColor()
    NumberTextBoxBase.OnBackColorChanged(EventArgs)
    NumberTextBoxBase.OnReadOnlyChanged(EventArgs)
    NumberTextBoxBase.GetClipText()
    NumberTextBoxBase.GetClipText(Boolean)
    NumberTextBoxBase.OnClipTextChanged(EventArgs)
    NumberTextBoxBase.OnFormattedTextChanged(EventArgs)
    NumberTextBoxBase.Undo()
    NumberTextBoxBase.SelectAll()
    NumberTextBoxBase.Paste()
    NumberTextBoxBase.Copy()
    NumberTextBoxBase.Cut()
    NumberTextBoxBase.Delete()
    NumberTextBoxBase.GetZeroNegative()
    NumberTextBoxBase.SetNegativeInputPending(Boolean)
    NumberTextBoxBase.GetNegativeInputPending()
    NumberTextBoxBase.SetZeroNegative(Boolean)
    NumberTextBoxBase.GetStartPositionJustNumbers(String, Int32)
    NumberTextBoxBase.IsValidCharacter(Char)
    NumberTextBoxBase.ParseForNegativeFormat(String)
    NumberTextBoxBase.ParseForNegativeFormat(String, NumberFormatInfo)
    NumberTextBoxBase.SetEmptySelection(Int32)
    NumberTextBoxBase.GetFirstDataPos()
    NumberTextBoxBase.GetNextDataPos(Int32, Boolean, Boolean, Boolean)
    NumberTextBoxBase.GetDecimalSeparatorPosition(String)
    NumberTextBoxBase.GetDecimalSeparatorPosition(String, NumberFormatInfo)
    NumberTextBoxBase.GetPrevDataPos(Int32)
    NumberTextBoxBase.GetDecimalSeparator()
    NumberTextBoxBase.GetDecimalSeparator(NumberFormatInfo)
    NumberTextBoxBase.GetGroupSeparator()
    NumberTextBoxBase.GetGroupSeparator(NumberFormatInfo)
    NumberTextBoxBase.DeleteSelectedText(String, Int32, Int32)
    NumberTextBoxBase.DeleteSelectedText()
    NumberTextBoxBase.GetDecimalDigits()
    NumberTextBoxBase.CanInsert(String, String, Int32)
    NumberTextBoxBase.CheckForMinMax(String)
    NumberTextBoxBase.GetNumberPartLength(String)
    NumberTextBoxBase.InsertString(String, Int32, Int32, String)
    NumberTextBoxBase.InsertString(String, Int32, Int32, String, Boolean)
    NumberTextBoxBase.ConcatModifiedText(String, String, String)
    NumberTextBoxBase.CompleteInsertString(NumberModifyState)
    NumberTextBoxBase.CheckDecimalPartLength(String)
    NumberTextBoxBase.GetInitialZeroCount(String, Int32)
    NumberTextBoxBase.IsInDecimalPosition(String, Int32)
    NumberTextBoxBase.OnSetNull(SetNullEventArgs)
    NumberTextBoxBase.OnKeyValidate(KeyValidateEventArgs)
    NumberTextBoxBase.RaiseSetNull(Object)
    NumberTextBoxBase.RaiseKeyValidate(Char, String, String)
    NumberTextBoxBase.ProcessKeyMessage(Message)
    NumberTextBoxBase.ProcessKeyEventArgs(Message)
    NumberTextBoxBase.HandleBackspaceKeyChar()
    NumberTextBoxBase.SetPreserveData(Boolean)
    NumberTextBoxBase.GetPreserveData()
    NumberTextBoxBase.IsDataPosition(String, Int32)
    NumberTextBoxBase.CursorShouldBeMoved(Int32, Boolean)
    NumberTextBoxBase.CompleteSubtractKey(NumberModifyState)
    NumberTextBoxBase.PositionCursorAfterEdit(Int32, Boolean, Boolean, Boolean)
    NumberTextBoxBase.OnMouseDown(MouseEventArgs)
    NumberTextBoxBase.WndProc(Message)
    NumberTextBoxBase.EnforceMinMaxDuringValidating
    NumberTextBoxBase.Culture
    NumberTextBoxBase.SpecialCultureValue
    NumberTextBoxBase.CurrentCultureRefresh
    NumberTextBoxBase.UseUserOverride
    NumberTextBoxBase.RightToLeft
    NumberTextBoxBase.BackColor
    NumberTextBoxBase.NumberFormatInfoObject
    NumberTextBoxBase.NegativeSign
    NumberTextBoxBase.NegativeColor
    NumberTextBoxBase.ZeroColor
    NumberTextBoxBase.PositiveColor
    NumberTextBoxBase.NullFormat
    NumberTextBoxBase.NullString
    NumberTextBoxBase.AllowNull
    NumberTextBoxBase.BindableValue
    NumberTextBoxBase.DefaultValue
    NumberTextBoxBase.OverWriteText
    NumberTextBoxBase.MinMaxValidation
    NumberTextBoxBase.MaxLength
    NumberTextBoxBase.OnValidationFailed
    NumberTextBoxBase.IsNull
    NumberTextBoxBase.NullState
    NumberTextBoxBase.BackGroundColor
    NumberTextBoxBase.ReadOnlyBackColor
    NumberTextBoxBase.ClipMode
    NumberTextBoxBase.ClipText
    NumberTextBoxBase.ReturnBaseText
    NumberTextBoxBase.FormattedText
    NumberTextBoxBase.CanUndo
    NumberTextBoxBase.IsNegative
    NumberTextBoxBase.NegativeInputPendingOnSelectAll
    NumberTextBoxBase.SelectAllOnFocus
    NumberTextBoxBase.SelectedText
    NumberTextBoxBase.ForeColor
    NumberTextBoxBase.SetNull
    NumberTextBoxBase.KeyValidate
    NumberTextBoxBase.ValidationError
    NumberTextBoxBase.BindableValueChanged
    NumberTextBoxBase.ControlValidated
    NumberTextBoxBase.ClipTextChanged
    NumberTextBoxBase.FormattedTextChanged
    TextBoxExt.ApplyScaleToControl(Single)
    TextBoxExt.GetActiveThemeName()
    TextBoxExt.OnMaximumSizeChanged(EventArgs)
    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.OnPaint(PaintEventArgs)
    TextBoxExt.OnHandleCreated(EventArgs)
    TextBoxExt.OnHandleDestroyed(EventArgs)
    TextBoxExt.OnMultilineChanged(EventArgs)
    TextBoxExt.NCOverflowIndicatorPaint(Graphics, Rectangle, Rectangle)
    TextBoxExt.OnSizeChanged(EventArgs)
    TextBoxExt.OnBorderStyleChanged(EventArgs)
    TextBoxExt.OnLostFocus(EventArgs)
    TextBoxExt.BeginInit()
    TextBoxExt.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    TextBoxExt.IThemeProvider.BaseThemeName
    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.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class DoubleTextBox : NumericTextBox, IThemeProvider, ISupportInitialize, ISerializable, IVisualStyle
    Remarks

    The DoubleTextBox is derived from textbox and provides all the functionality of a textbox and adds additional functionality of its own.

    Collecting double input in a consistent format requires validation code that needs to be built into the application when using the Windows Forms text box control. The DoubleTextBox includes all this logic into its methods and properties and makes it easy for the developer and the end user to collect and enter double data.

    The DoubleTextBox is also closely tied to the globalization settings of the operating system for number related properties. Please refer to the System.Globalization.NumberFormatInfo class for a detailed explanation of globalization and number related attributes.

    The DoubleTextBox has full support for the Windows Forms designer and you can just drag-and-drop and set properties on the control just as you would with the Windows Forms text box.

    The DoubleTextBox also raises a ValidationError event when in appropriate data is entered into the control.

    All clipboard functions such as copy, paste and cut are also supported with special accommodations for number related issues.

    Constructors

    DoubleTextBox()

    Overloaded. Creates an object of type DoubleTextBox.

    Declaration
    public DoubleTextBox()
    Remarks

    The DoubleTextBox object will be initialized with the default values for the display and data properties. You need to set any specific values.

    Properties

    DoubleValue

    Gets or sets the double value of the control. This will be formatted and displayed.

    Declaration
    public double DoubleValue { get; set; }
    Property Value
    Type Description
    System.Double

    MaxValue

    Gets or sets the maximum value that can be set through the DoubleTextBox.

    Declaration
    public double MaxValue { get; set; }
    Property Value
    Type Description
    System.Double

    MinValue

    Gets or sets the minimum value that can be set through the DoubleTextBox.

    Declaration
    public double MinValue { get; set; }
    Property Value
    Type Description
    System.Double

    Text

    Overrides the Text property of System.Windows.Forms.TextBox.

    Declaration
    public override string Text { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    This property is overriden in order to normalize the data that is set to the Text property and format it as needed. The method is used to format the data.

    ThemeStyle

    Declaration
    public DoubleTextBoxVisualStyle ThemeStyle { get; set; }
    Property Value
    Type Description
    DoubleTextBoxVisualStyle

    UseNullString

    Indicates whether the NULLString property will be used.

    Declaration
    [Obsolete("This property will not be used in future.Insead Use AllowNull")]
    public bool UseNullString { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    ApplyFormatting(String)

    Formats the given text according to the current setting.

    Declaration
    protected override string ApplyFormatting(string rawValue)
    Parameters
    Type Name Description
    System.String rawValue
    Returns
    Type Description
    System.String
    Overrides
    NumberTextBoxBase.ApplyFormatting(String)

    CheckForMinMax(String, Boolean)

    Declaration
    protected override bool CheckForMinMax(string currentTextValue, bool ignoreLength)
    Parameters
    Type Name Description
    System.String currentTextValue
    System.Boolean ignoreLength
    Returns
    Type Description
    System.Boolean
    Overrides
    NumberTextBoxBase.CheckForMinMax(String, Boolean)

    CheckIfNegative(String)

    Declaration
    protected override bool CheckIfNegative(string rawValue)
    Parameters
    Type Name Description
    System.String rawValue
    Returns
    Type Description
    System.Boolean
    Overrides
    NumberTextBoxBase.CheckIfNegative(String)

    CheckIsZero()

    Declaration
    protected override bool CheckIsZero()
    Returns
    Type Description
    System.Boolean
    Overrides
    NumberTextBoxBase.CheckIsZero()

    CheckNullStringIsInRange(String)

    Declaration
    protected override bool CheckNullStringIsInRange(string nullString)
    Parameters
    Type Name Description
    System.String nullString
    Returns
    Type Description
    System.Boolean
    Overrides
    NumberTextBoxBase.CheckNullStringIsInRange(String)

    CreateAccessibilityInstance()

    Declaration
    protected override AccessibleObject CreateAccessibilityInstance()
    Returns
    Type Description
    System.Windows.Forms.AccessibleObject
    Overrides
    TextBoxExt.CreateAccessibilityInstance()

    Dispose(Boolean)

    Releases the unmanaged resources used by the DoubleTextBox and optionally releases the managed resources.

    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 unmanage resources.

    Overrides
    NumberTextBoxBase.Dispose(Boolean)

    FormatChanged(String, NumberFormatInfo)

    Declaration
    protected override void FormatChanged(string currentText, NumberFormatInfo previousFormat)
    Parameters
    Type Name Description
    System.String currentText
    System.Globalization.NumberFormatInfo previousFormat
    Overrides
    NumberTextBoxBase.FormatChanged(String, NumberFormatInfo)

    GetControlName(String)

    Helps to override the ThemeName property settings

    Declaration
    public override string GetControlName(string controlName)
    Parameters
    Type Name Description
    System.String controlName

    ThemeName

    Returns
    Type Description
    System.String
    Overrides
    TextBoxExt.GetControlName(String)

    GetNumberPartLength(Double)

    Declaration
    protected int GetNumberPartLength(double numberValue)
    Parameters
    Type Name Description
    System.Double numberValue
    Returns
    Type Description
    System.Int32

    GetNumberValue(String, Int32)

    Declaration
    protected override string GetNumberValue(string formattedText, int startPosition)
    Parameters
    Type Name Description
    System.String formattedText
    System.Int32 startPosition
    Returns
    Type Description
    System.String
    Overrides
    NumberTextBoxBase.GetNumberValue(String, Int32)

    GetValue()

    Declaration
    protected override object GetValue()
    Returns
    Type Description
    System.Object
    Overrides
    NumberTextBoxBase.GetValue()

    HandleBackspaceKey()

    Declaration
    protected override bool HandleBackspaceKey()
    Returns
    Type Description
    System.Boolean
    Overrides
    NumericTextBox.HandleBackspaceKey()

    HandleDecimalKey()

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

    HandleDeleteKey()

    Declaration
    protected override bool HandleDeleteKey()
    Returns
    Type Description
    System.Boolean
    Overrides
    NumericTextBox.HandleDeleteKey()

    HandleSubtractKey()

    Declaration
    protected override NumberModifyState HandleSubtractKey()
    Returns
    Type Description
    NumberModifyState
    Overrides
    NumericTextBox.HandleSubtractKey()

    InitializeNumberTextBox()

    Overrides InitializeNumberTextBox().

    Declaration
    protected override void InitializeNumberTextBox()
    Overrides
    NumberTextBoxBase.InitializeNumberTextBox()

    IsAssignable(Object)

    Declaration
    protected override bool IsAssignable(object val)
    Parameters
    Type Name Description
    System.Object val
    Returns
    Type Description
    System.Boolean
    Overrides
    NumberTextBoxBase.IsAssignable(Object)

    IsValidNumberValue(String)

    Declaration
    protected override bool IsValidNumberValue(string doubleString)
    Parameters
    Type Name Description
    System.String doubleString
    Returns
    Type Description
    System.Boolean
    Overrides
    NumberTextBoxBase.IsValidNumberValue(String)

    OnDoubleValueChanged(EventArgs)

    Raises the DoubleValueChanged event.

    Declaration
    protected virtual void OnDoubleValueChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    A System.EventArgs that contains the event data.

    OnEnabledChanged(EventArgs)

    Raises the System.Windows.Forms.Control.EnabledChanged event.

    Declaration
    protected override void OnEnabledChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    An System.EventArgs that contains the event data.

    Overrides
    TextBoxExt.OnEnabledChanged(EventArgs)

    OnEnter(EventArgs)

    Overrides the System.Windows.Forms.Control.OnEnter(System.EventArgs) method.

    Declaration
    protected override void OnEnter(EventArgs args)
    Parameters
    Type Name Description
    System.EventArgs args

    The event data.

    Overrides
    NumberTextBoxBase.OnEnter(EventArgs)
    Remarks

    Saves the current DoubleValue so that it can be compared during validation. The DoubleValueChanged and TextChanged event will only be raised if the value is different during validation.

    OnGotFocus(EventArgs)

    Helps to override the OnGotFocus events

    Declaration
    protected override void OnGotFocus(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    An System.EventArgs that contains the event data.

    Overrides
    TextBoxExt.OnGotFocus(EventArgs)

    OnKeyDown(KeyEventArgs)

    Raises the System.Windows.Forms.Control.KeyDown event.

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.KeyEventArgs e

    A System.Windows.Forms.KeyEventArgs that contains the event data.

    OnTextChanged(EventArgs)

    Overrides OnTextChanged.

    Declaration
    protected override void OnTextChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The event data.

    Overrides
    NumberTextBoxBase.OnTextChanged(EventArgs)

    OnThemeNameChanged(String)

    Helps to apply the ThemeName settings in control

    Declaration
    public override void OnThemeNameChanged(string themeName)
    Parameters
    Type Name Description
    System.String themeName

    ThemeName

    Overrides
    TextBoxExt.OnThemeNameChanged(String)

    OnValidated(EventArgs)

    Declaration
    protected override void OnValidated(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnValidating(CancelEventArgs)

    Declaration
    protected override void OnValidating(CancelEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.CancelEventArgs e
    Overrides
    NumberTextBoxBase.OnValidating(CancelEventArgs)

    PrepareInsertString(String, Int32, Int32, String, Boolean)

    Declaration
    protected override NumberModifyState PrepareInsertString(string currentText, int startPosition, int selectionLength, string textToBeInserted, bool pasteOperation)
    Parameters
    Type Name Description
    System.String currentText
    System.Int32 startPosition
    System.Int32 selectionLength
    System.String textToBeInserted
    System.Boolean pasteOperation
    Returns
    Type Description
    NumberModifyState
    Overrides
    NumberTextBoxBase.PrepareInsertString(String, Int32, Int32, String, Boolean)

    ResetText()

    Restores the CurrencyNumberDigits to the MaximumLength.

    Declaration
    protected void ResetText()

    SetDoubleValue(Double)

    Declaration
    protected void SetDoubleValue(double newValue)
    Parameters
    Type Name Description
    System.Double newValue

    SetNullNumberValue()

    Declaration
    protected override void SetNullNumberValue()
    Overrides
    NumberTextBoxBase.SetNullNumberValue()

    SetTextProperty(String)

    Declaration
    protected override void SetTextProperty(string newText)
    Parameters
    Type Name Description
    System.String newText
    Overrides
    NumberTextBoxBase.SetTextProperty(String)

    SetValue(Object)

    Declaration
    protected override void SetValue(object val)
    Parameters
    Type Name Description
    System.Object val
    Overrides
    NumberTextBoxBase.SetValue(Object)

    ShouldSerializeText()

    Indicates whether to serialize the Text property if it is null or quals NullString

    Declaration
    protected bool ShouldSerializeText()
    Returns
    Type Description
    System.Boolean

    ToggleNegative(String)

    Declaration
    protected override string ToggleNegative(string currentText)
    Parameters
    Type Name Description
    System.String currentText
    Returns
    Type Description
    System.String
    Overrides
    NumberTextBoxBase.ToggleNegative(String)

    Events

    DoubleValueChanged

    Occurs when the DoubleValue property is changed.

    Declaration
    public event EventHandler DoubleValueChanged
    Event Type
    Type Description
    System.EventHandler

    Implements

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