protected virtual void OnPinSelected(TKCustomMapPin pin)
 {
     PinSelected?.Invoke(this, new PinSelectedEventArgs(pin));
 }
示例#2
0
 private void PinButton_Click(object sender, RoutedEventArgs e)
 {
     Pin = PinTextBox.Text;
     PinSelected?.Invoke(this, new EventArgs());
 }
示例#3
0
        /// <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);
        }
示例#4
0
 public void SelectPin(CustomPin pin)
 {
     PinSelected?.Invoke(this, pin);
 }