/// <summary> /// See <see cref="IFilterControl.AddDateFilterDateTimePicker"/> /// </summary> public ICustomFilter AddDateFilterDateTimePicker(string labelText, string propertyName, FilterClauseOperator filterClauseOperator, DateTime?defaultDate) { DateTimePickerFilter filter = new DateTimePickerFilter(_controlFactory, propertyName, filterClauseOperator); AddCustomFilter(labelText, filter); if (defaultDate != null) { filter.DefaultDate = defaultDate.Value; } return(filter); }
/// <summary> /// See <see cref="IFilterControl.AddDateFilterDateTimePicker"/> /// </summary> public ICustomFilter AddDateFilterDateTimePicker(string labelText, string propertyName, FilterClauseOperator filterClauseOperator, DateTime? defaultDate) { DateTimePickerFilter filter = new DateTimePickerFilter(_controlFactory, propertyName, filterClauseOperator); AddCustomFilter(labelText, filter); if (defaultDate != null) { filter.DefaultDate = defaultDate.Value; } return filter; }