private void query_FilteringStarted(object sender, EventArgs e)
 {
     if (FilterCurrentData != null && FilterCurrentData.Equals((sender as QueryController).ColumnFilterData))
     {
         this.IsFilteringInProgress = true;
     }
 }
示例#2
0
 void query_FilteringFinished(object sender, EventArgs e)
 {
     if (FilterCurrentData.Equals((sender as QueryController).ColumnFilterData))
     {
         this.IsFilteringInProgress = false;
     }
 }
 void query_FilteringStarted(object sender, EventArgs e)
 {
     // VIKRAM: Handle situation where subscriber does not have FilterCurrentData setup
     if (FilterCurrentData != null &&
         FilterCurrentData.Equals((sender as QueryController).ColumnFilterData))
     {
         this.IsFilteringInProgress = true;
     }
 }
示例#4
0
        void query_FilteringStarted(object sender, EventArgs e)
        {
            //if (FilterCurrentData.Equals((sender as QueryController).ColumnFilterData))
            //{
            //    this.IsFilteringInProgress = true;
            //}

            var colFiltrData = (sender as QueryController)?.ColumnFilterData;

            if (colFiltrData == null)
            {
                return;
            }
            if (FilterCurrentData == null)
            {
                return;
            }

            if (FilterCurrentData.Equals(colFiltrData))
            {
                this.IsFilteringInProgress = true;
            }
        }