protected virtual void OnRaiseUIElementPressedEvent(UIElementPressedEventArgs e) { EventHandler <UIElementPressedEventArgs> handler = RaiseUIElementPressedEvent; // Event will be null if there are no subscribers if (handler != null) { handler(this, e); } }
protected virtual void OnRaiseUIElementPressedEvent(UIElementPressedEventArgs e) { EventHandler<UIElementPressedEventArgs> handler = RaiseUIElementPressedEvent; // Event will be null if there are no subscribers if (handler != null) { handler(this, e); } }