Skip to content

Commit a4fd038

Browse files
committed
renamed the ShowFilterItemCounts to ShowFilterItemsCount
1 parent dcf7ed0 commit a4fd038

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/ColumnFilterHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public virtual IList<TableViewFilterItem> GetFilterItems(TableViewColumn column,
4848

4949
})
5050
.OfType<TableViewFilterItem>()
51-
.OrderByDescending(x => _tableView.ShowFilterItemCounts ? x.Count : 0)];
51+
.OrderByDescending(x => _tableView.ShowFilterItemsCount ? x.Count : 0)];
5252
}
5353

5454
return [];

src/TableView.Properties.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ public partial class TableView
261261
public static readonly DependencyProperty ConditionalCellStylesProperty = DependencyProperty.Register(nameof(ConditionalCellStyles), typeof(IList<TableViewConditionalCellStyle>), typeof(TableView), new PropertyMetadata(default));
262262

263263
/// <summary>
264-
/// Identifies the <see cref="ShowFilterItemCounts"/> dependency property.
264+
/// Identifies the <see cref="ShowFilterItemsCount"/> dependency property.
265265
/// </summary>
266-
public static readonly DependencyProperty ShowFilterItemCountsProperty = DependencyProperty.Register(nameof(ShowFilterItemCounts), typeof(bool), typeof(TableView), new PropertyMetadata(false));
266+
public static readonly DependencyProperty ShowFilterItemsCountProperty = DependencyProperty.Register(nameof(ShowFilterItemsCount), typeof(bool), typeof(TableView), new PropertyMetadata(false));
267267

268268
/// <summary>
269269
/// Gets or sets a value indicating whether opening the column filter over header right-click is enabled.
@@ -322,12 +322,12 @@ public IList<TableViewConditionalCellStyle> ConditionalCellStyles
322322
}
323323

324324
/// <summary>
325-
/// Gets or sets a value that indicates whether the TableView displays item counts next to each filter item in filter flyout.
325+
/// Gets or sets a value that indicates whether the TableView displays items count next to each filter item in filter flyout.
326326
/// </summary>
327-
public bool ShowFilterItemCounts
327+
public bool ShowFilterItemsCount
328328
{
329-
get => (bool)GetValue(ShowFilterItemCountsProperty);
330-
set => SetValue(ShowFilterItemCountsProperty, value);
329+
get => (bool)GetValue(ShowFilterItemsCountProperty);
330+
set => SetValue(ShowFilterItemsCountProperty, value);
331331
}
332332

333333
/// <summary>

0 commit comments

Comments
 (0)