Beispiel #1
0
 public virtual void OnLostFocus(object sender, ItemEventArgs e)
 {
     if (!this.DisableEvents)
     {
         e.item = this;
         e.Name = this.Name;
         if (this.LostFocus != null)
         {
             this.LostFocus(sender, e);
         }
     }
 }
Beispiel #2
0
 protected virtual void OnItemLostFocus(object sender, ItemEventArgs e)
 {
     IsEventRunning = true;
     e.Index = this.Items.IndexOf(e.item);
     if (this.ItemLostFocus != null)
     {
         this.ItemLostFocus(this, e);
     }
     IsEventRunning = false;
 }
Beispiel #3
0
 public virtual void OnLabelClicked(object sender, ItemEventArgs e)
 {
     if (!this.DisableEvents)
     {
         e.item = this;
         e.Name = this.Name;
         if (this.LabelClicked != null)
         {
             this.LabelClicked(sender, e);
         }
     }
 }