Skip to main content

TimeSpanMask.GeneralLongFormat Property

Applies general long formatting to the editor’s value.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public static string GeneralLongFormat { get; }

Property Value

Type Description
String

The formatted value.

Remarks

General long formatting includes the fractional seconds separator that depends on the current culture. Users can change the regional format in the SettingsTime & LanguageRegion system dialog. To change the mask culture programmatically, use the Culture property.

The example below demonstrates how to apply general long formatting to the Masked Input‘s value:

<DxMaskedInput @bind-Value="time"
               Mask="@TimeSpanMask.GeneralLongFormat" />
@code {
    TimeSpan time = new TimeSpan(5, 16, 30, 15, 7);
}

Time Span Masks - General Long Format

Refer to the following topic for more information: Time Span Masks.

See Also