/// <summary> /// Called when the column filters are changed. /// </summary> /// <param name="e">The e.</param> private void OnColumnFiltersChanged(ColumnFiltersArgs e) { if (ColumnFiltersChanged != null) { ColumnFiltersChanged(this, e); } }
/// <summary> /// Executes the OK button command. /// </summary> /// <param name="currentWindow">The current window.</param> private void ExecuteOKButtonCommand(Window currentWindow) { ColumnFiltersArgs filterArgs = new ColumnFiltersArgs(columnFiltersList); OnColumnFiltersChanged(filterArgs); currentWindow.Close(); }
/// <summary> /// Executes the apply button command. /// </summary> private void ExecuteApplyButtonCommand() { ColumnFiltersArgs filterArgs = new ColumnFiltersArgs(columnFiltersList); OnColumnFiltersChanged(filterArgs); }