csDataServerPlugin.PoiGraphic.StartLongTappedTimer C# (CSharp) Метод

StartLongTappedTimer() приватный Метод

The icon is clicked (mouse or touch) set timer to wait for x msec (while icon still touched); then fire event
private StartLongTappedTimer ( ) : void
Результат void
        private void StartLongTappedTimer()
        {
            StopLongTappedTimer();
            iconLongTappedTimer = new DispatcherTimer(DispatcherPriority.Background)
            {
                Interval = new TimeSpan(0, 0, 0, 0, MapMenuItem.iconLongTappedTimerInMSec)
            };
            iconLongTappedTimer.Tick += LongTappedTimerElapsed;
            iconLongTappedTimer.Start();
        }