Articles in this section
Category / Section

How to set null value in Silverlight DateTimeEdit control ?

1 min read

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)
Please sign in to leave a comment
Access denied
Access denied