Skip to main content
All docs
V25.1
  • TimeSpanMask.ConstantFormat Property

    Applies constant formatting to the editor’s value.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    public static string ConstantFormat { get; }

    Property Value

    Type Description
    String

    The formatted value.

    Remarks

    The constant format specifier is not culture-sensitive. The following code snippet applies constant formatting to the Masked Input‘s value:

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

    Time Span Masks - Constant Format

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

    See Also