/// <summary> /// Triggers a tap option event. /// </summary> /// <param name="sender">Object associated with the event.</param> /// <param name="args">Tap option event arguments.</param> internal virtual void TriggerTapOptionEvent(object sender, TapOptionEventArgs args) { if (TapOptionEvent != null) { TapOptionEvent(sender, args); } }
private static void list_TapOptionEvent(object sender, TapOptionEventArgs args) { _dropdown.Text = args.Label; _dropdown.Value = args.Value; _dropdown.TriggerValueChangedEvent(_dropdown); CloseList(); }