Skip to main content
All docs
V21.2
  • TextInputMaskSettings.MaskCulture Property

    Specifies the culture whose settings are used by masks. This is a dependency property.

    Namespace: DevExpress.UI.Xaml.Editors

    Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

    NuGet Package: DevExpress.Uwp.Controls

    Declaration

    public CultureInfo MaskCulture { get; set; }

    Property Value

    Type Description
    CultureInfo

    A System.Globalization.CultureInfo object whose settings are used by masks.

    Remarks

    This property specifies the CultureInfo object whose settings are used by masks. For instance, it defines the character used as a currency symbol, date and time separators, the number of digits to the right of the decimal point, common date and numeric patterns, etc.

    By default, the MaskCulture property is set to a null reference. In this instance, the masks use the culture of the current thread (the CurrentCulture property). You can set the MaskCulture property to any other System.Globalization.CultureInfo object, and the editor will use the specified culture instead of the default one.

    See Also