Exemple #1
0
 /// <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)
 {
 }
Exemple #2
0
 private DateGridFilter(DateGridFilterControl dateGridFilterControl, bool useCustomFilterPlacement, bool showInBetweenOperator) : base(useCustomFilterPlacement)
 {
     _dateGridFilterControl          = dateGridFilterControl;
     _dateGridFilterControl.Changed += OnDateGridFilterControlChanged;
     ShowInBetweenOperator           = showInBetweenOperator;
 }
Exemple #3
0
 /// <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)
 {
 }