Пример #1
0
        private void HandleFilterCommand(object sender, EventArgs e)
        {
            this.RequiresDataBinding = true;  //this is required to make sure that unsetting of filter is also handled
            FilterCommandEventArgs filterArgs = new FilterCommandEventArgs();

            filterArgs.FilterExpression = GetFilterCommand();
            this.OnFilterCommand(filterArgs);
        }
Пример #2
0
        protected virtual void OnFilterCommand(FilterCommandEventArgs e)
        {
            EventHandler handler = (EventHandler)base.Events[EventFilterCommand];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #3
0
 private void HandleFilterCommand(object sender, EventArgs e)
 {
     this.RequiresDataBinding = true;  //this is required to make sure that unsetting of filter is also handled
     FilterCommandEventArgs filterArgs = new FilterCommandEventArgs();
     filterArgs.FilterExpression = GetFilterCommand();
     this.OnFilterCommand(filterArgs);
 }
Пример #4
0
 protected virtual void OnFilterCommand(FilterCommandEventArgs e)
 {
     EventHandler handler = (EventHandler)base.Events[EventFilterCommand];
     if (handler != null)
     {
         handler(this, e);
     }
 }