Class NumericTextBoxEvents<TValue>
The NumericTextBox is used to get the number inputs from the user. The input values can be incremented or decremented by a predefined step value.
Inherited Members
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.BlurHandler()
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ClickStopPropagation
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ContainerClass
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.IsValueTemplate
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.MouseDowSpinnerPrevent
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.MousePreventContainer
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnBlur
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnChange
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnFocus
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnInput
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnPaste
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.PreventIconHandler
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.RootClass
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.SpinButton
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ValueExpression
Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ValueTemplate
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class NumericTextBoxEvents<TValue> : SfInputTextBase<TValue>
Type Parameters
Name | Description |
---|---|
TValue | Specifies the type of SfNumericTextBox. |
Constructors
NumericTextBoxEvents()
Declaration
public NumericTextBoxEvents()
Properties
BaseParent
Specifies the base parent of SfNumericTextBox.
Declaration
protected SfNumericTextBox<TValue> BaseParent { get; set; }
Property Value
Type |
---|
SfNumericTextBox<TValue> |
Blur
Gets or sets the event callback that will be invoked when the component loses focus.
Declaration
public EventCallback<NumericBlurEventArgs<TValue>> Blur { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<NumericBlurEventArgs<TValue>> |
Created
Gets or sets the event callback that will be invoked when the SfNumericTextBox<TValue> component is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Destroyed
Gets or sets the event callback that will be invoked when the SfNumericTextBox<TValue> component is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Focus
Gets or sets the event callback that will be invoked when the SfNumericTextBox<TValue> gets focus.
Declaration
public EventCallback<NumericFocusEventArgs<TValue>> Focus { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<NumericFocusEventArgs<TValue>> |
ValueChange
Gets or sets the event callback that will be invoked when the value of SfNumericTextBox<TValue> has changed.
Declaration
public EventCallback<ChangeEventArgs<TValue>> ValueChange { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ChangeEventArgs<TValue>> |
Examples
<SfNumericTextBox TValue="int?" Placeholder="Enter the value" >
<NumericTextBoxEvents TValue="int?" ValueChange="@OnChange"/>
</SfNumericTextBox>
@code{
private void OnChange(ChangeEventArgs<int?> args)
{
var CurrentValue = args.Value;
}
}