Articles in this section
Category / Section

How to set null value to a SfTimePicker?

1 min read

The value of time in SfTimePicker can be set as null using AllowNull property. The same has been explained in the following code,

 

<Grid HorizontalAlignment="Center" VerticalAlignment="Center">     
    <input:SfTimePicker x:Name="sftimepicker" Height="30" Width="180" AllowNull="True"
                        Value="{x:Null}">
                
    </input:SfTimePicker>
</Grid>

 

 

sftimepicker.AllowNull = true;
sftimepicker.Value     = null;

 

Output:

 

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