Articles in this section
Category / Section

How to show DateTime value of DateTimeEdit in ToolTip?

1 min read

The DateTime value of DateTimeEdit can be shown in ToolTip, this can be done by binding the value to ToolTip property.

<Grid>
  <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
  <syncfusion:DateTimeEdit x:Name="dateTimeEdit1" Height="25" Width="180" Margin="10"/>
  <syncfusion:DateTimeEdit x:Name="dateTimeEdit2" Height="25" Width="180" 
                           DateTime="{Binding ElementName=dateTimeEdit1, 
                                              Path=DateTime,Mode=TwoWay}" Margin="10" 
                           ToolTip="{Binding ElementName=dateTimeEdit2, 
                                             Path=DateTime}"/>
  </StackPanel>
</Grid>

 

The following screenshot displays the Date Time in ToolTip,

 

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