Click or drag to resize

DataGridFilterColumnControlSourceValues Property

Returns all distinct source values of this column as string. This can be used to e.g. feed the ItemsSource of an Excel-like auto-filter that always shows all source values that can be selected.

Namespace:  DataGridExtensions
Assembly:  DataGridExtensions (in DataGridExtensions.dll)
Syntax
public IEnumerable<string> SourceValues { get; }

Property Value

Type: IEnumerableString
Remarks
You may need to include "NotifyOnTargetUpdated=true" in the binding of the DataGrid.ItemsSource to get up-to-date values when the source object changes.
See Also