private DateGridFilter(DateGridFilterControl dateGridFilterControl, bool useCustomFilterPlacement, bool showInBetweenOperator) : base(useCustomFilterPlacement) { _dateGridFilterControl = dateGridFilterControl; _dateGridFilterControl.Changed += new EventHandler(OnDateGridFilterControlChanged); ShowInBetweenOperator = showInBetweenOperator; }
/// <summary> /// Creates a new instance with <see cref="GridFilterBase.UseCustomFilterPlacement"/> /// set to true. /// </summary> /// <param name="dateGridFilterControl">A <see cref="DateGridFilterControl"/> /// instance which should be used by the filter.</param> /// <param name="showInBetweenOperator">Determines whether the 'in between' operator is available.</param> public DateGridFilter(DateGridFilterControl dateGridFilterControl, bool showInBetweenOperator) : this(dateGridFilterControl, true, showInBetweenOperator) { }
/// <summary> /// Creates a new instance with <see cref="GridFilterBase.UseCustomFilterPlacement"/> /// set to true and not having the 'in between' operator. /// </summary> /// <param name="dateGridFilterControl">A <see cref="DateGridFilterControl"/> /// instance which should be used by the filter.</param> public DateGridFilter(DateGridFilterControl dateGridFilterControl) : this(dateGridFilterControl, true, false) { }