Skip to main content
A newer version of this page is available. .

NumericMask.Percentage Property

Adds a percent symbol to the editor’s value.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public static string Percentage { get; }

Property Value

Type Description
String

An editor’s value.

Remarks

This format displays an editor’s value as is. The current culture’s PercentNegativePattern and PercentPositivePattern properties determine the mask result for negative and positive numbers, respectively.

<DxSpinEdit @bind-Value="Value"
            Mask="@NumericMask.Percentage" />

@code{
    Double Value { get; set; } = 0.123;
}

Date-Time Masks - Percentage

To change the culture, use the Culture property.

See Also