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
DatePickerMaskPlaceholder
Implements
System.IAsyncDisposable
Inherited Members
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