Watermark in WPF TimeSpan Editor (TimeSpanEdit)
Set null value
AllowNull property can be used to set the TimeSpanEdit value to Null. When this property is enabled along with the Value property whose value is Null, then the TimeSpanEdit control will not display any value.
<syncfusion:TimeSpanEdit Value="10.2:25:52" Width="150" Height="50" AllowNull="True"/>
Show Watermark on null value
When the AllowNull
property is enabled. We can use Watermark to show the text in the TimeSpanEdit control by using NullString
when the value is null.
<syncfusion:TimeSpanEdit Value="10.2:25:52" Width="150" Height="50" AllowNull="True" Nullstring="Syncfusion.."/>
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page