| Visual Basic (Declaration) | |
|---|---|
Public Property DefaultCalculateDistinctValues As Boolean | |
| C# | |
|---|---|
public bool DefaultCalculateDistinctValues {get; set;} | |
Return Value
true if distinct values are to be calculated; false otherwise. By default (if automatic filtering is enabled), true.If a column does not need to support automatic filtering, it is recommended to set its corresponding DataGridItemProperty's CalculateDistinctValues to false or set the DataGridCollectionViewSource or DataGridDetailDescription's DefaultCalculateDistinctValues properties to false and only set CalculateDistinctValues to true for the item properties that will support auto-filtering
Supported Frameworks: Microsoft .NET Framework version 3.5