protected virtual void OnItemMouseUp(TextBoxExItem item) { if (ItemMouseUp != null) { ItemMouseUp(this, item, EventArgs.Empty); } }
private void OnPressedItemChanged(TextBoxExItem old) { if (old != null) { Invalidate(old.Bounds); } if (PressedItem != null) { Invalidate(PressedItem.Bounds); } }
protected virtual void OnItemClick(TextBoxExItem item) { if (item != null) { item.OnClick(); } if (ItemClick != null) { ItemClick(this, item, EventArgs.Empty); } }
private void OnHoverItemChanged(TextBoxExItem old) { if (old != null) { Invalidate(old.Bounds); } if (HoverItem != null) { Invalidate(HoverItem.Bounds); } }