protected virtual void OnPinSelected(TKCustomMapPin pin) { PinSelected?.Invoke(this, new PinSelectedEventArgs(pin)); }
private void PinButton_Click(object sender, RoutedEventArgs e) { Pin = PinTextBox.Text; PinSelected?.Invoke(this, new EventArgs()); }
/// <summary> /// Raises <see cref="PinSelected"/> /// </summary> /// <param name="pin">The selected pin</param> protected void OnPinSelected(TKCustomMapPin pin) { PinSelected?.Invoke(this, new TKGenericEventArgs <TKCustomMapPin>(pin)); RaiseCommand(PinSelectedCommand, pin); }
public void SelectPin(CustomPin pin) { PinSelected?.Invoke(this, pin); }