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); } } }
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; }
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); } } }