public static IFilterCollectionViewSource GetFilterObject(CollectionViewSource obj) { return((IFilterCollectionViewSource)obj.GetValue(FilterObjectProperty)); }
public static IComparer?GetComparer(CollectionViewSource viewSource) => (IComparer?)viewSource?.GetValue(ViewSort.ComparerProperty);
public static ICommand GetFilterCommand(CollectionViewSource element) { return (ICommand) element.GetValue(FilterCommandProperty); }