mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-19 15:03:36 +08: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:
parent
5b692438b7
commit
4e1aacbee2
@ -76,9 +76,23 @@
|
||||
<Button
|
||||
x:Uid="FilterBtn"
|
||||
Height="32"
|
||||
Content="{ui:FontIcon Glyph=,
|
||||
FontSize=16}"
|
||||
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>
|
||||
<Flyout ShouldConstrainToRootBounds="False">
|
||||
<StackPanel
|
||||
|
Loading…
Reference in New Issue
Block a user