mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[Hosts]UI to show when filters are applied (#31406)
* [WIP] Show UI when filter is applied * Update MainPage.xaml --------- Co-authored-by: Niels Laute <niels.laute@live.nl>
This commit is contained in:
@@ -76,9 +76,23 @@
|
|||||||
<Button
|
<Button
|
||||||
x:Uid="FilterBtn"
|
x:Uid="FilterBtn"
|
||||||
Height="32"
|
Height="32"
|
||||||
Content="{ui:FontIcon Glyph=,
|
|
||||||
FontSize=16}"
|
|
||||||
Style="{StaticResource SubtleButtonStyle}">
|
Style="{StaticResource SubtleButtonStyle}">
|
||||||
|
<Button.Content>
|
||||||
|
<Grid>
|
||||||
|
<FontIcon
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
AutomationProperties.AccessibilityView="Raw"
|
||||||
|
FontSize="16"
|
||||||
|
Glyph="" />
|
||||||
|
<InfoBadge
|
||||||
|
Width="10"
|
||||||
|
Height="10"
|
||||||
|
Margin="0,-4,-4,0"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
VerticalAlignment="Top"
|
||||||
|
Visibility="{x:Bind ViewModel.Filtered, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" />
|
||||||
|
</Grid>
|
||||||
|
</Button.Content>
|
||||||
<Button.Flyout>
|
<Button.Flyout>
|
||||||
<Flyout ShouldConstrainToRootBounds="False">
|
<Flyout ShouldConstrainToRootBounds="False">
|
||||||
<StackPanel
|
<StackPanel
|
||||||
|
|||||||
Reference in New Issue
Block a user