public ModeItem(SearchBoxBase sb, SearchBoxMode mode) : base(sb) { this.Mode = mode; this.Text = Mode.ToString(); Check(); }
protected override bool Supports(SearchBoxMode Mode) { switch (Mode) { case SearchBoxMode.Filter: return CanFilter; case SearchBoxMode.Lookup: //isvalid &= source.SupportsSearching; break; } //DataGridView dg; return true; }
protected virtual bool Supports(SearchBoxMode Mode) { return true; }
protected override bool Supports(SearchBoxMode Mode) { return base.Supports(Mode) && Mode != SearchBoxMode.Filter; }
public StringSearchMatcher(SearchBoxMode Mode, string SearchValue) : this(Mode) { this.SearchText = SearchValue; }
public StringSearchMatcher(SearchBoxMode Mode) { this.Mode = Mode; }