Ignore:
Timestamp:
Jan 10, 2011, 11:05:07 AM (11 years ago)
Author:
nolte
Message:

Added Tooltips to the Keysearcher Statistics view:
Users -> Subtreebar-Tooltip shows last Date
Machines -> Bar-Tooltip shows Usernames working with this Maschine

Reorganised some code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/Presentation/Controls/StatisticsPresentation.xaml

    r2295 r2304  
    2727                        <HierarchicalDataTemplate.ItemTemplate>
    2828                            <DataTemplate>
    29                                 <StackPanel Orientation="Horizontal" Margin="1">
     29                                <StackPanel Orientation="Horizontal" Margin="1" ToolTip="{Binding Path=Value.Date}">
    3030                                    <Grid>
    3131                                        <ProgressBar Foreground="{Binding RelativeSource={RelativeSource FindAncestor,  AncestorLevel=2, AncestorType={x:Type TreeViewItem}},Path=(ItemsControl.AlternationIndex),Converter={StaticResource ResourceKey=TeamsBackgroundConverter}}" Value="{Binding Path=Value.Count, Mode=OneTime, Converter={StaticResource ResourceKey=InformationToProgressConverter2}}" Width="{Binding ElementName=statisticsTree, Path=ActualWidth, Converter={StaticResource ResourceKey=WidthConverter}}" Maximum="1" />
     
    6666                        </HierarchicalDataTemplate.ItemTemplate>-->
    6767                       
    68                         <StackPanel Orientation="Horizontal" Margin="1" ToolTip="{Binding Path=Key}">
     68                        <StackPanel Orientation="Horizontal" Margin="1" ToolTip="{Binding Path=Value.Users}">
    6969                            <Grid>
    7070                                <ProgressBar Value="{Binding Path=Value.Sum, Mode=OneTime, Converter={StaticResource ResourceKey=MachineSumToProgressConverter}}" Width="{Binding ElementName=machineTree, Path=ActualWidth, Converter={StaticResource ResourceKey=WidthConverter}}" Maximum="1" />
Note: See TracChangeset for help on using the changeset viewer.