2017-09-12 18:20:32 +02:00
|
|
|
<Page
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2017-10-02 18:40:54 +02:00
|
|
|
xmlns:viewModels="using:ModernKeePass.ViewModels"
|
|
|
|
xmlns:converters="using:ModernKeePass.Converters"
|
2017-10-05 18:40:24 +02:00
|
|
|
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
|
|
|
|
xmlns:core="using:Microsoft.Xaml.Interactions.Core"
|
2017-12-04 18:07:03 +01:00
|
|
|
xmlns:actions="using:ModernKeePass.Actions"
|
2018-06-13 18:58:28 +02:00
|
|
|
xmlns:userControls="using:ModernKeePass.Views.UserControls"
|
2017-10-02 18:40:54 +02:00
|
|
|
x:Name="PageRoot"
|
2017-12-08 19:38:33 +01:00
|
|
|
x:Class="ModernKeePass.Views.GroupDetailPage"
|
2017-12-11 19:00:14 +01:00
|
|
|
mc:Ignorable="d"
|
|
|
|
SizeChanged="GroupDetailPage_OnSizeChanged">
|
2017-09-29 18:08:20 +02:00
|
|
|
<Page.Resources>
|
2017-10-03 16:06:49 +02:00
|
|
|
<converters:ColorToBrushConverter x:Key="ColorToBrushConverter"/>
|
2017-10-31 18:49:18 +01:00
|
|
|
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
2017-11-28 18:53:10 +01:00
|
|
|
<converters:InverseBooleanToVisibilityConverter x:Key="InverseBooleanToVisibilityConverter"/>
|
2017-10-31 18:49:18 +01:00
|
|
|
<converters:NullToBooleanConverter x:Key="NullToBooleanConverter"/>
|
2018-06-14 10:20:00 +02:00
|
|
|
<converters:IntToSymbolConverter x:Key="IntToSymbolConverter"/>
|
2017-09-29 18:08:20 +02:00
|
|
|
</Page.Resources>
|
2017-09-15 11:24:14 +02:00
|
|
|
<Page.DataContext>
|
2017-10-02 18:40:54 +02:00
|
|
|
<viewModels:GroupVm />
|
2017-09-15 11:24:14 +02:00
|
|
|
</Page.DataContext>
|
2017-10-25 18:29:50 +02:00
|
|
|
<Grid>
|
2017-09-29 18:08:20 +02:00
|
|
|
<Grid.Resources>
|
|
|
|
<CollectionViewSource
|
2017-10-02 18:40:54 +02:00
|
|
|
x:Name="EntriesViewSource"
|
2017-12-14 17:15:28 +01:00
|
|
|
Source="{Binding Entries}" />
|
2017-10-06 16:21:12 -04:00
|
|
|
<CollectionViewSource
|
|
|
|
x:Name="EntriesZoomedOutViewSource"
|
2018-06-12 18:40:54 +02:00
|
|
|
Source="{Binding EntriesZoomedOut}" IsSourceGrouped="True" />
|
2017-09-29 18:08:20 +02:00
|
|
|
</Grid.Resources>
|
2017-10-25 18:29:50 +02:00
|
|
|
<Grid.Background>
|
|
|
|
<StaticResource ResourceKey="ApplicationPageBackgroundThemeBrush"/>
|
|
|
|
</Grid.Background>
|
2017-10-05 18:40:24 +02:00
|
|
|
<Grid.ChildrenTransitions>
|
2017-09-12 18:20:32 +02:00
|
|
|
<TransitionCollection>
|
|
|
|
<EntranceThemeTransition/>
|
|
|
|
</TransitionCollection>
|
2017-10-05 18:40:24 +02:00
|
|
|
</Grid.ChildrenTransitions>
|
2017-09-12 18:20:32 +02:00
|
|
|
<Grid.RowDefinitions>
|
2018-07-12 18:19:26 +02:00
|
|
|
<RowDefinition Height="{StaticResource MenuGridLength}"/>
|
2017-09-12 18:20:32 +02:00
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
</Grid.RowDefinitions>
|
2017-10-28 11:24:34 -04:00
|
|
|
<Grid Grid.Row="1">
|
|
|
|
<Grid.ColumnDefinitions>
|
2018-07-12 18:19:26 +02:00
|
|
|
<ColumnDefinition Width="{StaticResource MenuGridLength}" x:Name="LeftListViewColumn" />
|
2017-10-28 11:24:34 -04:00
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
2018-06-15 18:07:44 +02:00
|
|
|
<userControls:HamburgerMenuUserControl x:Uid="GroupsLeftListView" ItemsSource="{Binding Groups}" SelectionChanged="groups_SelectionChanged" ButtonClicked="CreateGroup_ButtonClick" ResizeTarget="{Binding ElementName=LeftListViewColumn}" IsButtonVisible="{Binding IsSelected, Converter={StaticResource InverseBooleanToVisibilityConverter}}" />
|
2018-06-26 18:14:01 +02:00
|
|
|
<Grid Grid.Column="1">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="0" x:Uid="ReorderEntriesLabel" Margin="10,10,0,0" Visibility="{Binding IsEditMode, Converter={StaticResource BooleanToVisibilityConverter}}" Style="{StaticResource BodyTextBlockStyle}" />
|
|
|
|
<!--<TextBlock Grid.Column="1" Grid.Row="0" x:Uid="EntrySymbol" Margin="40,20,0,0" Visibility="{Binding IsEditMode, Converter={StaticResource BooleanToVisibilityConverter}}" Style="{StaticResource BodyTextBlockStyle}" />-->
|
|
|
|
<HyperlinkButton Grid.Column="2" Grid.Row="0" VerticalAlignment="Top" Click="CreateEntry_ButtonClick" Visibility="{Binding IsSelected, Converter={StaticResource InverseBooleanToVisibilityConverter}}" HorizontalAlignment="Right" Foreground="{StaticResource MainColor}" Style="{StaticResource MainColorHyperlinkButton}">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<SymbolIcon Symbol="Add">
|
|
|
|
<ToolTipService.ToolTip>
|
|
|
|
<ToolTip x:Uid="AddEntryTooltip" />
|
|
|
|
</ToolTipService.ToolTip>
|
|
|
|
</SymbolIcon>
|
|
|
|
<TextBlock x:Name="AddEntryTextBlock" x:Uid="GroupCreateEntry" VerticalAlignment="Center" Margin="10,0,0,0" />
|
|
|
|
</StackPanel>
|
|
|
|
</HyperlinkButton>
|
|
|
|
|
|
|
|
<SemanticZoom Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="1" ViewChangeStarted="SemanticZoom_ViewChangeStarted" ScrollViewer.HorizontalScrollBarVisibility="Visible">
|
|
|
|
<SemanticZoom.ZoomedInView>
|
|
|
|
<!-- Horizontal scrolling grid -->
|
|
|
|
<GridView
|
|
|
|
x:Name="GridView"
|
|
|
|
ItemsSource="{Binding Source={StaticResource EntriesViewSource}}"
|
|
|
|
AutomationProperties.AutomationId="ItemGridView"
|
|
|
|
AutomationProperties.Name="Entries"
|
|
|
|
TabIndex="1"
|
2018-07-02 14:33:53 +02:00
|
|
|
Margin="10,0,0,0"
|
2018-06-26 18:14:01 +02:00
|
|
|
SelectionChanged="entries_SelectionChanged"
|
|
|
|
IsSynchronizedWithCurrentItem="False"
|
|
|
|
BorderBrush="{StaticResource ListViewItemSelectedBackgroundThemeBrush}"
|
|
|
|
AllowDrop="True"
|
|
|
|
CanReorderItems="True"
|
|
|
|
CanDragItems="True"
|
|
|
|
DragItemsStarting="GridView_DragItemsStarting">
|
|
|
|
<interactivity:Interaction.Behaviors>
|
|
|
|
<core:DataTriggerBehavior Binding="{Binding IsEditMode}" Value="False">
|
|
|
|
<actions:SetupFocusAction TargetObject="{Binding ElementName=GridView}" />
|
|
|
|
</core:DataTriggerBehavior>
|
|
|
|
</interactivity:Interaction.Behaviors>
|
|
|
|
<GridView.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Grid Height="110" Width="480" x:Name="EntryGrid">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Grid.Column="0" Background="{Binding BackgroundColor, ConverterParameter={StaticResource MainColor}, Converter={StaticResource ColorToBrushConverter}}">
|
|
|
|
<Viewbox MaxHeight="50" Width="100">
|
|
|
|
<SymbolIcon Symbol="{Binding IconId, Converter={StaticResource IntToSymbolConverter}}" Foreground="{StaticResource TextColor}" />
|
|
|
|
</Viewbox>
|
|
|
|
</Border>
|
|
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="10,10,0,0" >
|
|
|
|
<TextBlock x:Name="NameTextBlock" Text="{Binding Name}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap" Foreground="{Binding ForegroundColor, ConverterParameter={StaticResource TextBoxForegroundThemeBrush}, Converter={StaticResource ColorToBrushConverter}}"/>
|
|
|
|
<TextBlock Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap" />
|
|
|
|
<TextBlock Text="{Binding UserName}" Style="{StaticResource BodyTextBlockStyle}" Foreground="{Binding ForegroundColor, ConverterParameter={StaticResource TextBoxForegroundThemeBrush}, Converter={StaticResource ColorToBrushConverter}}" MaxHeight="60" />
|
|
|
|
<TextBlock Text="{Binding Url}" Style="{StaticResource BodyTextBlockStyle}" Foreground="{Binding ForegroundColor, ConverterParameter={StaticResource TextBoxForegroundThemeBrush}, Converter={StaticResource ColorToBrushConverter}}" MaxHeight="60" />
|
|
|
|
</StackPanel>
|
2018-07-02 14:33:53 +02:00
|
|
|
<Button Grid.Column="2" Style="{StaticResource NoBorderButtonStyle}" Background="{StaticResource AppBarBackgroundThemeBrush}" VerticalAlignment="Bottom">
|
2018-06-26 18:14:01 +02:00
|
|
|
<SymbolIcon Symbol="More" />
|
|
|
|
<Button.Flyout>
|
|
|
|
<MenuFlyout>
|
|
|
|
<MenuFlyoutItem x:Uid="EntryItemCopyLogin">
|
|
|
|
<interactivity:Interaction.Behaviors>
|
|
|
|
<core:EventTriggerBehavior EventName="Click">
|
|
|
|
<actions:ClipboardAction Text="{Binding UserName}" />
|
|
|
|
<actions:ToastAction x:Uid="ToastCopyLogin" Title="{Binding Name}" />
|
|
|
|
</core:EventTriggerBehavior>
|
|
|
|
</interactivity:Interaction.Behaviors>
|
|
|
|
</MenuFlyoutItem>
|
|
|
|
<MenuFlyoutItem x:Uid="EntryItemCopyPassword">
|
|
|
|
<interactivity:Interaction.Behaviors>
|
|
|
|
<core:EventTriggerBehavior EventName="Click">
|
|
|
|
<actions:ClipboardAction Text="{Binding Password}" />
|
|
|
|
<actions:ToastAction x:Uid="ToastCopyPassword" Title="{Binding Name}" />
|
|
|
|
</core:EventTriggerBehavior>
|
|
|
|
</interactivity:Interaction.Behaviors>
|
|
|
|
</MenuFlyoutItem>
|
|
|
|
<MenuFlyoutItem x:Uid="EntryItemCopyUrl">
|
|
|
|
<interactivity:Interaction.Behaviors>
|
|
|
|
<core:EventTriggerBehavior EventName="Click">
|
|
|
|
<actions:NavigateToUrlAction Url="{Binding Url}" />
|
|
|
|
<actions:ToastAction x:Uid="ToastCopyUrl" Title="{Binding Name}" />
|
|
|
|
</core:EventTriggerBehavior>
|
|
|
|
</interactivity:Interaction.Behaviors>
|
|
|
|
</MenuFlyoutItem>
|
|
|
|
</MenuFlyout>
|
|
|
|
</Button.Flyout>
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridView.ItemTemplate>
|
|
|
|
</GridView>
|
|
|
|
</SemanticZoom.ZoomedInView>
|
|
|
|
<SemanticZoom.ZoomedOutView>
|
|
|
|
<GridView
|
|
|
|
ItemsSource="{Binding Source={StaticResource EntriesZoomedOutViewSource}}"
|
|
|
|
SelectionChanged="groups_SelectionChanged"
|
|
|
|
SelectionMode="None"
|
|
|
|
IsSynchronizedWithCurrentItem="False">
|
|
|
|
<GridView.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
<TextBlock Width="100" Text="{Binding Name}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap"/>
|
2018-06-05 16:23:09 +02:00
|
|
|
</StackPanel>
|
2018-06-26 18:14:01 +02:00
|
|
|
</DataTemplate>
|
|
|
|
</GridView.ItemTemplate>
|
|
|
|
<GridView.GroupStyle>
|
|
|
|
<GroupStyle HidesIfEmpty="True">
|
|
|
|
<GroupStyle.HeaderTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Grid Background="LightGray" HorizontalAlignment="Left">
|
|
|
|
<TextBlock Text="{Binding Key}" Width="40" Margin="30" Foreground="Black" Style="{StaticResource HeaderTextBlockStyle}" TextAlignment="Center" />
|
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</GroupStyle.HeaderTemplate>
|
|
|
|
</GroupStyle>
|
|
|
|
</GridView.GroupStyle>
|
|
|
|
</GridView>
|
|
|
|
</SemanticZoom.ZoomedOutView>
|
|
|
|
</SemanticZoom>
|
|
|
|
|
|
|
|
</Grid>
|
2017-10-28 11:24:34 -04:00
|
|
|
</Grid>
|
2017-09-12 18:20:32 +02:00
|
|
|
<!-- Back button and page title -->
|
2017-10-27 16:28:13 +02:00
|
|
|
<Grid Grid.Row="0" Background="{ThemeResource AppBarBackgroundThemeBrush}">
|
2017-09-12 18:20:32 +02:00
|
|
|
<Grid.ColumnDefinitions>
|
2018-07-12 18:19:26 +02:00
|
|
|
<ColumnDefinition Width="{StaticResource MenuGridLength}"/>
|
2017-09-12 18:20:32 +02:00
|
|
|
<ColumnDefinition Width="*"/>
|
2017-12-11 19:00:14 +01:00
|
|
|
<ColumnDefinition Width="Auto"/>
|
2018-07-02 18:23:43 +02:00
|
|
|
<ColumnDefinition Width="Auto"/>
|
2017-09-12 18:20:32 +02:00
|
|
|
</Grid.ColumnDefinitions>
|
2017-10-27 16:28:13 +02:00
|
|
|
<Button Grid.Column="0"
|
2017-10-03 16:06:49 +02:00
|
|
|
Command="{Binding NavigationHelper.GoBackCommand, ElementName=PageRoot}"
|
2018-07-12 18:19:26 +02:00
|
|
|
Height="{StaticResource MenuSize}"
|
|
|
|
Width="{StaticResource MenuSize}"
|
2017-10-03 16:06:49 +02:00
|
|
|
AutomationProperties.Name="Back"
|
|
|
|
AutomationProperties.AutomationId="BackButton"
|
2017-10-27 16:28:13 +02:00
|
|
|
AutomationProperties.ItemType="Navigation Button"
|
|
|
|
Style="{StaticResource NoBorderButtonStyle}">
|
|
|
|
<SymbolIcon Symbol="Back" />
|
|
|
|
</Button>
|
2018-07-12 15:32:54 +02:00
|
|
|
<Grid Grid.Column="1" >
|
|
|
|
<Grid.ColumnDefinitions>
|
2018-07-12 18:19:26 +02:00
|
|
|
<ColumnDefinition Width="60" />
|
2018-07-12 15:32:54 +02:00
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
2018-07-12 18:19:26 +02:00
|
|
|
<RowDefinition Height="40" />
|
2018-07-12 15:32:54 +02:00
|
|
|
<RowDefinition Height="20" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Viewbox MaxHeight="30" Width="50" Grid.Column="0" Grid.Row="0" Visibility="{Binding IsEditMode, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
|
|
<userControls:SymbolPickerUserControl Width="80" Height="40" SelectedSymbol="{Binding IconId, Converter={StaticResource IntToSymbolConverter}, Mode=TwoWay}" />
|
|
|
|
</Viewbox>
|
|
|
|
<Viewbox MaxHeight="30" Width="50" Grid.Column="0" Grid.Row="0" Visibility="{Binding IsEditMode, Converter={StaticResource InverseBooleanToVisibilityConverter}}">
|
|
|
|
<SymbolIcon Symbol="{Binding IconId, Converter={StaticResource IntToSymbolConverter}}" Width="80" Height="40" />
|
|
|
|
</Viewbox>
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="0"
|
2017-10-31 12:14:26 +01:00
|
|
|
x:Name="TitleTextBox"
|
|
|
|
Text="{Binding Name, Mode=TwoWay}"
|
|
|
|
Foreground="{ThemeResource DefaultTextForegroundThemeBrush}"
|
2018-06-25 17:31:17 +02:00
|
|
|
SelectionHighlightColor="{StaticResource MainColor}"
|
2017-10-31 12:14:26 +01:00
|
|
|
Background="Transparent"
|
|
|
|
IsHitTestVisible="{Binding IsEditMode}"
|
|
|
|
BorderThickness="0"
|
|
|
|
FontSize="20"
|
2018-07-12 15:32:54 +02:00
|
|
|
FontWeight="Light"
|
2017-10-31 12:14:26 +01:00
|
|
|
TextWrapping="NoWrap"
|
|
|
|
VerticalAlignment="Center"
|
2017-11-28 18:53:10 +01:00
|
|
|
x:Uid="GroupTitle">
|
2017-10-31 12:14:26 +01:00
|
|
|
<interactivity:Interaction.Behaviors>
|
|
|
|
<core:DataTriggerBehavior Binding="{Binding IsEditMode}" Value="True">
|
|
|
|
<actions:SetupFocusAction TargetObject="{Binding ElementName=TitleTextBox}" />
|
|
|
|
</core:DataTriggerBehavior>
|
|
|
|
</interactivity:Interaction.Behaviors>
|
|
|
|
</TextBox>
|
2018-07-12 15:32:54 +02:00
|
|
|
<userControls:BreadCrumbUserControl Grid.Column="1" Grid.Row="1" ItemsSource="{Binding BreadCrumb}" Margin="5,-5,0,0" />
|
|
|
|
</Grid>
|
2018-07-04 18:26:16 +02:00
|
|
|
<userControls:TopMenuUserControl x:Name="TopMenu" Grid.Column="2"
|
|
|
|
RestoreButtonVisibility="{Binding ShowRestore, Converter={StaticResource BooleanToVisibilityConverter}}"
|
|
|
|
DeleteButtonVisibility="{Binding IsSelected, Converter={StaticResource InverseBooleanToVisibilityConverter}}"
|
2018-07-11 12:15:56 +02:00
|
|
|
SortButtonVisibility="{Binding IsEditMode, Converter={StaticResource BooleanToVisibilityConverter}}"
|
2018-07-05 18:32:42 +02:00
|
|
|
IsEditButtonChecked="{Binding IsEditMode, Mode=TwoWay}"
|
|
|
|
IsDeleteButtonEnabled="{Binding IsNotRoot}"
|
2018-07-11 18:23:52 +02:00
|
|
|
IsRestoreButtonEnabled="{Binding PreviousGroup, Converter={StaticResource NullToBooleanConverter}}"
|
2018-07-05 18:32:42 +02:00
|
|
|
SaveCommand="{Binding SaveCommand}"
|
2018-07-11 12:15:56 +02:00
|
|
|
RestoreCommand="{Binding UndoDeleteCommand}"
|
|
|
|
SortEntriesCommand="{Binding SortEntriesCommand}"
|
|
|
|
SortGroupsCommand="{Binding SortGroupsCommand}">
|
2018-07-05 18:32:42 +02:00
|
|
|
<interactivity:Interaction.Behaviors>
|
|
|
|
<core:EventTriggerBehavior EventName="DeleteButtonClick">
|
|
|
|
<actions:DeleteEntityAction Entity="{Binding}" Command="{Binding NavigationHelper.GoBackCommand, ElementName=PageRoot}" />
|
|
|
|
</core:EventTriggerBehavior>
|
|
|
|
<core:EventTriggerBehavior EventName="RestoreButtonClick">
|
|
|
|
<actions:RestoreEntityAction Entity="{Binding}" Command="{Binding NavigationHelper.GoBackCommand, ElementName=PageRoot}" />
|
|
|
|
</core:EventTriggerBehavior>
|
|
|
|
</interactivity:Interaction.Behaviors>
|
|
|
|
</userControls:TopMenuUserControl>
|
2018-07-12 18:19:26 +02:00
|
|
|
<Button Grid.Column="3" x:Name="SearchButton" Style="{StaticResource NoBorderButtonStyle}" Background="{ThemeResource ToggleButtonBackgroundThemeBrush}" Height="{StaticResource MenuSize}" Padding="25,0,25,0">
|
2017-12-14 17:15:28 +01:00
|
|
|
<SymbolIcon Symbol="Find" />
|
2017-12-11 19:00:14 +01:00
|
|
|
<Button.Flyout>
|
|
|
|
<Flyout>
|
2017-12-18 18:53:42 +01:00
|
|
|
<Flyout.FlyoutPresenterStyle>
|
|
|
|
<Style TargetType="FlyoutPresenter">
|
|
|
|
<Setter Property="Padding" Value="0" />
|
|
|
|
</Style>
|
|
|
|
</Flyout.FlyoutPresenterStyle>
|
2018-06-07 18:27:50 +02:00
|
|
|
<SearchBox x:Uid="GroupSearch" Width="350" Padding="12" Background="{ThemeResource TextBoxDisabledBackgroundThemeBrush}" BorderThickness="0" FontSize="18" SuggestionsRequested="SearchBox_OnSuggestionsRequested" SearchHistoryEnabled="False" ResultSuggestionChosen="SearchBox_OnResultSuggestionChosen" Style="{StaticResource MainColorSearchBox}" />
|
2017-12-11 19:00:14 +01:00
|
|
|
</Flyout>
|
|
|
|
</Button.Flyout>
|
|
|
|
</Button>
|
2018-07-12 18:19:26 +02:00
|
|
|
<SearchBox Grid.Column="3" x:Uid="GroupSearch" x:Name="SearchBox" Padding="12" Width="350" Background="{ThemeResource TextBoxDisabledBackgroundThemeBrush}" BorderThickness="0" Margin="0,5,0,5" FontSize="15" SuggestionsRequested="SearchBox_OnSuggestionsRequested" SearchHistoryEnabled="False" ResultSuggestionChosen="SearchBox_OnResultSuggestionChosen" Style="{StaticResource MainColorSearchBox}" />
|
2017-09-12 18:20:32 +02:00
|
|
|
</Grid>
|
2017-11-29 19:13:38 +01:00
|
|
|
<VisualStateManager.VisualStateGroups>
|
|
|
|
<VisualStateGroup x:Name="DragDropGroup">
|
|
|
|
<VisualState x:Name="Dragging">
|
|
|
|
<Storyboard>
|
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GridView" Storyboard.TargetProperty="BorderThickness">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="2"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
|
|
|
</Storyboard>
|
|
|
|
</VisualState>
|
|
|
|
<VisualState x:Name="Dropped">
|
|
|
|
<Storyboard>
|
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GridView" Storyboard.TargetProperty="BorderThickness">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="0"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
|
|
|
</Storyboard>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
2018-07-02 18:23:43 +02:00
|
|
|
<VisualStateGroup x:Name="TopMenuGroup">
|
2017-12-11 19:00:14 +01:00
|
|
|
<VisualState x:Name="Small">
|
|
|
|
<Storyboard>
|
2018-07-05 18:32:42 +02:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopMenu" Storyboard.TargetProperty="OverflowButtonsVisibility">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopMenu" Storyboard.TargetProperty="MoreButtonVisibility">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
|
2018-07-02 18:23:43 +02:00
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2017-12-14 17:15:28 +01:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Visibility">
|
2017-12-11 19:00:14 +01:00
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2017-12-14 17:15:28 +01:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBox" Storyboard.TargetProperty="Visibility">
|
2017-12-11 19:00:14 +01:00
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2018-06-26 18:14:01 +02:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="AddEntryTextBlock" Storyboard.TargetProperty="Visibility">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2017-12-11 19:00:14 +01:00
|
|
|
</Storyboard>
|
|
|
|
</VisualState>
|
|
|
|
<VisualState x:Name="Large">
|
|
|
|
<Storyboard>
|
2018-07-05 18:32:42 +02:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopMenu" Storyboard.TargetProperty="OverflowButtonsVisibility">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopMenu" Storyboard.TargetProperty="MoreButtonVisibility">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
|
2018-07-02 18:23:43 +02:00
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2017-12-14 17:15:28 +01:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchButton" Storyboard.TargetProperty="Visibility">
|
2017-12-11 19:00:14 +01:00
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2017-12-14 17:15:28 +01:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SearchBox" Storyboard.TargetProperty="Visibility">
|
2017-12-11 19:00:14 +01:00
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2018-06-26 18:14:01 +02:00
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="AddEntryTextBlock" Storyboard.TargetProperty="Visibility">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
|
|
|
|
</ObjectAnimationUsingKeyFrames>
|
2017-12-11 19:00:14 +01:00
|
|
|
</Storyboard>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
2017-11-29 19:13:38 +01:00
|
|
|
</VisualStateManager.VisualStateGroups>
|
2017-09-12 18:20:32 +02:00
|
|
|
</Grid>
|
2017-10-03 18:38:31 +02:00
|
|
|
</Page>
|