File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
src/Core/Components/DataGrid/Columns Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 153
153
<FluentIcon Value =" @(new CoreIcons.Regular.Size20.ArrowSortDown())" Slot =" end" Style =" opacity: var(--fluent-data-grid-header-opacity);" />
154
154
}
155
155
}
156
- @if (ColumnOptions is not null && Filtered .GetValueOrDefault () && Grid . ResizeType is not null )
156
+ @if (ColumnOptions is not null && Filtered .GetValueOrDefault ())
157
157
{
158
- <FluentIcon Value =" @(new CoreIcons.Regular.Size20.Filter() )" Slot =" end" Style =" opacity: var(--fluent-data-grid-header-opacity);" />
158
+ <FluentIcon Value =" @(Grid.ColumnOptionsLabels.Icon )" Slot =" end" Style =" opacity: var(--fluent-data-grid-header-opacity);" />
159
159
}
160
160
</FluentButton >
161
161
</FluentKeyCode >
168
168
@if (ColumnOptions is not null && Filtered .GetValueOrDefault () && Grid .ResizeType .HasValue )
169
169
{
170
170
<span style =" padding : 0 5px ;" >
171
- <FluentIcon Value =" @(new CoreIcons.Regular.Size20.Filter() )" Slot =" end" Style =" opacity: var(--fluent-data-grid-header-opacity);" />
171
+ <FluentIcon Value =" @(Grid.ColumnOptionsLabels.Icon )" Slot =" end" Style =" opacity: var(--fluent-data-grid-header-opacity);" />
172
172
</span >
173
173
}
174
174
</div >
215
215
{
216
216
return
217
217
@< FluentButton Appearance = " Appearance.Stealth" class = " col-options-button" @onclick = " @(() => Grid.ShowColumnOptionsAsync(this))" aria - label = " Filter this column" >
218
- @if (Filtered .GetValueOrDefault ())
219
- {
220
- < FluentIcon Value = " @(new CoreIcons.Regular.Size20.FilterDismiss())" / >
221
- }
222
- else
223
- {
224
- < FluentIcon Value = " @(new CoreIcons.Regular.Size20.Filter())" / >
225
- }
226
-
227
- < / FluentButton > ;
218
+ < FluentIcon Value = " @(Grid.ColumnOptionsLabels.Icon)" / >
219
+ < / FluentButton > ;
228
220
}
229
221
}
You can’t perform that action at this time.
0 commit comments