Tooltip for 'Recurring task on single row'

2 posts, 0 answers
  1. 송 avatar
    1 posts
    Member since:
    Jul 2017

    Posted 02 Aug 2017 Link to this post

    When Mouse is on a recurring, it show tooltip.

    However when case 'Recurring task on single row', it doesn't show tooltip.

    How can I make it to show tooltip when 'Recurring task on single row'?

  2. Polya
    Polya avatar
    253 posts

    Posted 07 Aug 2017 Link to this post

    Hi 송,

    In order to have a tooltip in this example you should add one in the TimeLineRecurenceContainer control template. In this specific example we did not add a tooltip for this container.
    You can achieve this by adding this tooltip under the VisualStateManager.VisualStateGroups. For example:

        <ToolTip Content="{Binding}">
                    <Grid Margin="2">
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*" MinWidth="130"/>
                        <TextBlock Text="{Binding Title}" Grid.ColumnSpan="2" Margin="0" TextWrapping="NoWrap" TextTrimming="None"/>
                        <TextBlock telerik:LocalizationManager.ResourceKey="Start" Grid.Row="1" Margin="0 0 3 0"/>
                        <TextBlock Text="{Binding Start, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="1" Grid.Column="1" TextWrapping="NoWrap" TextTrimming="None"/>
                        <TextBlock telerik:LocalizationManager.ResourceKey="End" Grid.Row="2" Margin="0 0 3 0"/>
                        <TextBlock Text="{Binding End, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="2" Grid.Column="1" TextWrapping="NoWrap" TextTrimming="None"/>

    Hope this helps.

    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top