Articles in this section

How to set null value in Silverlight DateTimeEdit control ?

You can assign Null value to Date in DateTimeEdit by using IsEmptyDateEnabled property.

The following code examples explain how to assign Null value to Date in DateTimeEdit.

XAML

<syncfusion:DateTimeEdit x:Name="datetime" HorizontalAlignment="Center" VerticalAlignment="Center" IsEmptyDateEnabled="True" Height="30" Width="150">
</syncfusion:DateTimeEdit>

 

C#

datetime.IsEmptyDateEnabled = true;

 

The following screenshot displays the Null value in DateTimeEdit,

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied