Back to Devexpress

DxNumericMaskProperties Class

blazor-devexpress-dot-blazor-a9b084be.md

latest2.0 KB
Original Source

DxNumericMaskProperties Class

Defines properties for Numeric masks.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class DxNumericMaskProperties :
    DxMaskPropertiesBase

Remarks

Mask patterns depend on the current culture. For example, the same mask can specify different patterns in the U.S. and France. A culture-specific numeric format is defined by the NumberFormat property. Users can change the regional format in the Settings → Time & Language → Region system dialog. To change the culture programmatically, use the Culture property.

razor
@using System.Globalization

<DxSpinEdit @bind-Value="Value"
            Mask="@NumericMask.Currency">
    <DxNumericMaskProperties Culture="Culture" />
</DxSpinEdit>

@code{
    Double Value { get; set; }
    CultureInfo Culture = CultureInfo.GetCultureInfo("fr-FR");
}

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inheritance

Object ComponentBase DxMaskPropertiesBase DxNumericMaskProperties

See Also

DxNumericMaskProperties Members

DevExpress.Blazor Namespace