[]
        
(Showing Draft Content)

C1.Blazor.Input.C1NumericBox-1

C1NumericBox<TNumeric> Class

Represents a control that can be used to display and edit numeric.

Inheritance
C1NumericBox<TNumeric>
Namespace: C1.Blazor.Input
Assembly: C1.Blazor.Input.dll
Syntax
public class C1NumericBox<TNumeric> : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Type Parameters
Name Description
TNumeric

Constructors

Name Description
C1NumericBox()

Initializes a new instance of the C1NumericBox<TNumeric> class.

Fields

Name Description
DecrementIconTemplateProperty

Identifies the DecrementIconTemplate dependency property.

IncrementIconTemplateProperty

Identifies the IncrementIconTemplate dependency property.

IsEnabledProperty

Identifies the IsEnabled dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

ValueProperty

Identifies the Value dependency property.

Properties

Name Description
ButtonDisplayMode

Set ButtonDisplayMode.

DecrementIconTemplate

Decrement IconTemplate button content.

FinishEditingKeys

Hit one of keys to finish editing.

Format

Standard numeric format strings.

Id

Get or set the ID.

IncrementIconTemplate

Increment IconTemplate button content.

IsEnabled

Enable disable mode.

IsReadOnly

Enable readonly mode.

Max

Maximum of value.

Min

Minimum of value.

OnValueChanged

Gets or sets the callback that is called when the value is changed.

Placeholder

Get or set placeholder.

Step

The value that the numeric box should take to add or dec current value.

Value

Get or set value of numeric box.

ValueChanged

Gets or sets the callback called when the Value property has changed.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Dispose(bool)
FocusAsync()

Sets the focus in the control.

FocusOutAsync()

Sets the focus in the control.

InitializeAsync()

This method is called when the component is initialized.

OnAfterRender(bool)
OnParametersSetAsync()
Refresh()

Re-render the UI.