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

MaskSettings.UseInvariantCultureDecimalSymbolOnClient Property

Specifies whether to use the period (.) as the decimal point in an editor’s value on the client side.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool UseInvariantCultureDecimalSymbolOnClient { get; set; }

Property Value

Type Default Description
Boolean false

true, to use the period as the decimal point; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseInvariantCultureDecimalSymbolOnClient
ASPxButtonEdit
.MaskSettings .UseInvariantCultureDecimalSymbolOnClient
ASPxTextBox
.MaskSettings .UseInvariantCultureDecimalSymbolOnClient
ButtonEditProperties
.MaskSettings .UseInvariantCultureDecimalSymbolOnClient
TextBoxProperties
.MaskSettings .UseInvariantCultureDecimalSymbolOnClient

Remarks

Use the UseInvariantCultureDecimalSymbolOnClient property to specify whether the period should be used as the decimal point in an editor’s value on the client side instead of the culture-dependant decimal points in the mask.

Note that the UseInvariantCultureDecimalSymbolOnClient property is in effect if the MaskSettings.IncludeLiterals property is set to MaskIncludeLiteralsMode.DecimalSymbol.

<dx:ASPxTextBox ID="ASPxTextBox1" runat="server" Width="170px">
    <MaskSettings IncludeLiterals="DecimalSymbol" Mask="<0..9999g>.<0..99>" UseInvariantCultureDecimalSymbolOnClient="true" />
</dx:ASPxTextBox>
See Also