Skip to main content
All docs
V21.1

DxSpinEdit<T>.NullText Property

Specifies the Spin Edit’s prompt text when the editor’s value is null.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string NullText { get; set; }

Property Value

Type Description
String

A string value that specifies the prompt text.

Remarks

<DxSpinEdit @bind-Value="@NumericValue"
            ClearButtonDisplayMode="DataEditorClearButtonDisplayMode.Auto"
            NullText="Type a value..."></DxSpinEdit>

@code {
    int? NumericValue { get; set; } = 721;
}

Spin Edit NullText

Run Demo: Spin Edit - Nullable Value and Placeholder

See Also