DatePicker lets you display a watermark text in the DatePicker control when nothing is selected or displayed in it. You can add a watermark text to the DatePicker control using Placeholder property of the C1TimeEditor class, which prompts user to select the time from the time picker of the control.
The following code shows the usage of the Placeholder property to add a watermark text in the TimeEditor control:
C# |
Copy Code
|
---|---|
<C1TimeEditor Placeholder="Enter time"></C1TimeEditor>
|