/// <summary> /// Vrátí true pokud this instance obsahuje shodná data jako daná instance. /// U typu operátoru <see cref="FilterOperator"/> se porovnává hodnota <see cref="ITextItem.ItemId"/>. /// Neporovnává se <see cref="FilterValue"/>, porovnává se text v <see cref="FilterText"/>. /// </summary> /// <param name="other"></param> /// <returns></returns> public bool IsEqual(DxFilterBoxValue other) { if (other is null) { return(false); } if (!String.Equals(this.FilterOperator?.ItemId, other.FilterOperator?.ItemId)) { return(false); } if (!String.Equals(this.FilterText, other.FilterText)) { return(false); } return(true); }
/// <summary> /// Konstruktor /// </summary> /// <param name="filterValue"></param> /// <param name="eventSource"></param> public DxFilterBoxChangeArgs(DxFilterBoxValue filterValue, DxFilterBoxChangeEventSource eventSource) { FilterValue = filterValue; EventSource = eventSource; }