alexa
menu

Blazor Toolkit

    Show / Hide Table of Contents

    Class DatePickerMaskPlaceholder

    Provides configuration for placeholder text to be displayed in a masked SfDatePicker<TValue> control, based on the Format, until the user enters a value.

    Inheritance
    System.Object
    SfBaseComponent
    MaskPlaceholder
    DatePickerMaskPlaceholder
    DateTimePickerMaskPlaceholder
    Implements
    System.IAsyncDisposable
    Inherited Members
    MaskPlaceholder.Day
    MaskPlaceholder.DayOfWeek
    MaskPlaceholder.Hour
    MaskPlaceholder.Minute
    MaskPlaceholder.Month
    MaskPlaceholder.Second
    MaskPlaceholder.Year
    SfBaseComponent.DisposeAsync()
    Namespace: Syncfusion.Blazor.Toolkit.Calendars
    Assembly: Syncfusion.Blazor.Toolkit.dll
    Syntax
    public class DatePickerMaskPlaceholder : MaskPlaceholder, IAsyncDisposable
    Remarks

    The DatePickerMaskPlaceholder class enables customization of day, month, and year placeholder text in the SfDatePicker<TValue> input mask. Its properties are effective only when EnableMask is set to true. This class inherits from MaskPlaceholder, which provides the base structure for mask placeholder customization.

    Examples

    This example demonstrates how to configure custom placeholders for day, month, and year segments in a date picker mask.

    <SfDatePicker TValue="DateTime" EnableMask="true">
        <DatePickerMaskPlaceholder Day="day" Month="month" Year="year"></DatePickerMaskPlaceholder>
    </SfDatePicker>

    Constructors

    DatePickerMaskPlaceholder()

    Declaration
    public DatePickerMaskPlaceholder()

    Implements

    System.IAsyncDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved