/// <summary> /// Provides derived classes an opportunity to handle changes to the FieldName property. /// </summary> protected virtual void OnFieldNameChanged(StringList oldFieldName, StringList newFieldName) { var field = string.Empty; if (newFieldName != null && newFieldName.Count > 0) { field = newFieldName[0]; } FilteredCollection.ChangeSort(new SorterName()); }
/// <summary> /// Provides derived classes an opportunity to handle changes to the SorterOverride property. /// </summary> protected virtual void OnSorterOverrideChanged(IComparer <FileContainer> oldSorterOverride, IComparer <FileContainer> newSorterOverride) { FilteredCollection.ChangeSort(newSorterOverride); }