InputBase<TValue>.Value Property

Definition

Gets or sets the value of the input. This should be used with two-way binding.

C#
[Microsoft.AspNetCore.Components.Parameter]
public TValue Value { get; set; }
C#
[Microsoft.AspNetCore.Components.Parameter]
public TValue? Value { get; set; }

Property Value

TValue
Attributes

Examples

@bind-Value="model.PropertyName"

Applies to

Produkt Versioner
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0