Skip to content

Commit 67a3282

Browse files
committed
Fix MultipleChoiceFilter: Active filter marker is visible when grid is empty
1 parent 326a648 commit 67a3282

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/DataGridExtensions/Themes/Generic.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
Style="{DynamicResource {x:Type ToggleButton}}">
218218
<StackPanel Orientation="Horizontal">
219219
<TextBlock x:Name="IsFilterActiveMarker"
220+
Visibility="Hidden"
220221
Text="."
221222
Margin="2,0,-4,0"
222223
Foreground="{Binding ElementName=FilterSymbol, Path=Foreground}" FontWeight="Bold" />
@@ -314,10 +315,10 @@
314315
Value="Transparent" />
315316
</Trigger>
316317
<DataTrigger Binding="{Binding Path=Filter.IsFiltered, RelativeSource={RelativeSource Self}}"
317-
Value="False">
318+
Value="True">
318319
<Setter TargetName="IsFilterActiveMarker"
319320
Property="Visibility"
320-
Value="Hidden" />
321+
Value="Visible" />
321322
</DataTrigger>
322323
<DataTrigger Binding="{Binding Path=HasTextFilter, RelativeSource={RelativeSource Self}}"
323324
Value="true">

0 commit comments

Comments
 (0)