Table of Contents

Struct TextBoxAndButton.InitAsNumericEditParams

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Defines configuration parameters for initializing a numeric editing control. Used to customize behavior such as validation logic and numeric format constraints.

public struct TextBoxAndButton.InitAsNumericEditParams

Constructors

InitAsNumericEditParams()

Initializes a new instance of the TextBoxAndButton.InitAsNumericEditParams structure with default settings.

Fields

Default

Gets the default instance of TextBoxAndButton.InitAsNumericEditParams.

UnsignedFloat

Indicates whether the numeric control should accept only unsigned floating-point values (i.e. no negative sign).

UseCharValidator

Determines whether character-level input validation should be applied during editing. For example, restricts input to digits and a single decimal separator.

Methods

WithCharValidator(bool)

Gets TextBoxAndButton.InitAsNumericEditParams with the specified value of the UseCharValidator property.