WIP: Item counts
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Main" Route="Wallet">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
</NavigateAction>
|
||||
</ConditionAction>
|
||||
<ConditionAction>
|
||||
@@ -25,7 +25,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Left" Route="ItemCollection">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
<Parameter Key="Transition" Value="FromRight" />
|
||||
<Parameter Key="IsBackStackEnabled" Value="{x:True}" />
|
||||
<Parameter Key="ClearBackStack" Value="{x:True}" />
|
||||
@@ -33,4 +33,7 @@
|
||||
</ConditionAction>
|
||||
</DataTriggerBehavior>
|
||||
</Interaction.Behaviors>
|
||||
<NavigationViewItem.InfoBadge>
|
||||
<InfoBadge Value="{Binding Key}" />
|
||||
</NavigationViewItem.InfoBadge>
|
||||
</NavigationViewItem>
|
||||
|
||||
@@ -108,6 +108,7 @@ public partial class App : Application
|
||||
services.AddHandler<CreateItemHandler>();
|
||||
services.AddHandler<UpdateItemHander>();
|
||||
services.AddHandler<UpdateItemStateHandler>();
|
||||
services.AddHandler<CountCategoriesHandler>();
|
||||
|
||||
services.AddHandler<OpenWalletHandler>();
|
||||
|
||||
@@ -184,6 +185,8 @@ public partial class App : Application
|
||||
|
||||
services.AddHandler<HyperlinkHandler>();
|
||||
|
||||
services.AddHandler<ItemChangedHandler>(ServiceLifetime.Singleton);
|
||||
|
||||
services.AddHandler<ArchiveItemHandler>();
|
||||
services.AddHandler<UnarchiveItemHandler>();
|
||||
services.AddHandler<FavouriteItemHandler>();
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Main" Route="Wallet">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
</NavigateAction>
|
||||
</ConditionAction>
|
||||
<ConditionAction>
|
||||
@@ -25,7 +25,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Left" Route="ItemCollection">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
<Parameter Key="Transition" Value="FromRight" />
|
||||
<Parameter Key="IsBackStackEnabled" Value="{x:True}" />
|
||||
<Parameter Key="ClearBackStack" Value="{x:True}" />
|
||||
@@ -33,4 +33,7 @@
|
||||
</ConditionAction>
|
||||
</DataTriggerBehavior>
|
||||
</Interaction.Behaviors>
|
||||
<NavigationViewItem.InfoBadge>
|
||||
<InfoBadge Value="{Binding Key}" />
|
||||
</NavigationViewItem.InfoBadge>
|
||||
</NavigationViewItem>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:vm="using:Wallet"
|
||||
x:DataType="vm:CategoryNavigationViewModel"
|
||||
Content="{Binding Filter}"
|
||||
Content="{Binding Value}"
|
||||
IsSelected="{Binding Selected}">
|
||||
<Interaction.Behaviors>
|
||||
<DataTriggerBehavior Binding="{Binding Selected}" Value="True">
|
||||
@@ -15,7 +15,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Main" Route="Wallet">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
</NavigateAction>
|
||||
</ConditionAction>
|
||||
<ConditionAction>
|
||||
@@ -25,7 +25,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Left" Route="ItemCollection">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
<Parameter Key="Transition" Value="FromRight" />
|
||||
<Parameter Key="IsBackStackEnabled" Value="{x:True}" />
|
||||
<Parameter Key="ClearBackStack" Value="{x:True}" />
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Main" Route="Wallet">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
</NavigateAction>
|
||||
</ConditionAction>
|
||||
<ConditionAction>
|
||||
@@ -25,7 +25,7 @@
|
||||
</ConditionalExpression>
|
||||
</ConditionAction.Condition>
|
||||
<NavigateAction Region="Left" Route="ItemCollection">
|
||||
<Parameter Key="Filter" Value="{Binding Filter}" />
|
||||
<Parameter Key="Filter" Value="{Binding Value}" />
|
||||
<Parameter Key="Transition" Value="FromRight" />
|
||||
<Parameter Key="IsBackStackEnabled" Value="{x:True}" />
|
||||
<Parameter Key="ClearBackStack" Value="{x:True}" />
|
||||
@@ -33,5 +33,8 @@
|
||||
</ConditionAction>
|
||||
</DataTriggerBehavior>
|
||||
</Interaction.Behaviors>
|
||||
<NavigationViewItem.InfoBadge>
|
||||
<InfoBadge Value="{Binding Key}" />
|
||||
</NavigationViewItem.InfoBadge>
|
||||
</NavigationViewItem>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user