Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NumericMask.Percentage Property

Adds a percent symbol to the editor’s value.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
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.

Razor
<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