protected override FilterColumnCollection CreateFilterColumnCollection() { var args = new CustomCreateFilterColumnCollectionEventArgs(); OnCustomCreateFilterColumnCollection(args); return(args.FilterColumnCollection ?? (args.FilterColumnCollection = base.CreateFilterColumnCollection())); }
protected virtual void OnCustomCreateFilterColumnCollection(CustomCreateFilterColumnCollectionEventArgs args) { if (CustomCreateFilterColumnCollection != null) { CustomCreateFilterColumnCollection(this, args); } }