Share via


InputBase<TValue>.Value Property

Definition

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

public:
 property TValue Value { TValue get(); void set(TValue value); };
[Microsoft.AspNetCore.Components.Parameter]
public TValue Value { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public TValue? Value { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Value : 'Value with get, set
Public Property Value As TValue

Property Value

TValue
Attributes

Examples

@bind-Value="model.PropertyName"

Applies to