HypernovaDesktop Components · docs
Binarymission
WinFormsExtended Text › BinaryNumericExtendedText

BinaryNumericExtendedText

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.TextControls

A class derived from <seealso cref="BinaryExtendedText"/> that allows only numeric input or numeric input within a specified numeric range.

public class BinaryNumericExtendedText : BinaryExtendedText, ISupportInitialize

Inherits from / implements: BinaryExtendedText, ISupportInitialize

Members at a glance

BinaryNumericExtendedTextCreates a new instance of the BinaryNumericExtendedText .NET control.
MaximumGets or sets the maximum numeric value that can be set when using input range.
MinimumGets or sets the minimum numeric value that can be set when using input range.
ShouldIUseInputRangeGets or sets as to whether an input range is to be used or not.
TextGets or sets the Numeric text. Setting non-numeric text is not allowed!
BeginInitImplementation of ISupportInitialize.BeginInit.
EndInitImplementation of ISupportInitialize.EndInit.
OnKeyPressRaises the KeyPress event. BinaryNumericExtendedText overrides it so the control's own handling runs alongside the base behavior.
OnLostFocusRaises the LostFocus event. BinaryNumericExtendedText overrides it so the control's own handling runs alongside the base behavior.

Constructors

BinaryNumericExtendedText

public BinaryNumericExtendedText()

Creates a new instance of the BinaryNumericExtendedText .NET control.

Properties

Maximum

public int Maximum

Gets or sets the maximum numeric value that can be set when using input range.

Minimum

public int Minimum

Gets or sets the minimum numeric value that can be set when using input range.

ShouldIUseInputRange

public bool ShouldIUseInputRange

Gets or sets as to whether an input range is to be used or not.

Text

public override string Text

Gets or sets the Numeric text. Setting non-numeric text is not allowed!

Methods

BeginInit

public void BeginInit()

Implementation of ISupportInitialize.BeginInit.

EndInit

public void EndInit()

Implementation of ISupportInitialize.EndInit.

OnKeyPress

protected override void OnKeyPress(KeyPressEventArgs e)

Raises the KeyPress event. BinaryNumericExtendedText overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnLostFocus

protected override void OnLostFocus(EventArgs e)

Raises the LostFocus event. BinaryNumericExtendedText overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.