public override string ToString() { string filterString = string.Format(" ({0})", Filter); if (Caption.EndsWith(filterString)) { return(Caption); } else { return(Caption + filterString); } }