// Token: 0x06003056 RID: 12374 RVA: 0x000D9238 File Offset: 0x000D7438 private static void DispatchNavigation(object sender) { Hyperlink hyperlink = sender as Hyperlink; if (hyperlink != null) { hyperlink.OnClick(); return; } Hyperlink.DoNavigation(sender); }
/// <summary>Handles the <see cref="E:System.Windows.Documents.Hyperlink.Click" /> routed event.</summary> // Token: 0x06003041 RID: 12353 RVA: 0x000D8E2C File Offset: 0x000D702C protected virtual void OnClick() { if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) { AutomationPeer automationPeer = ContentElementAutomationPeer.CreatePeerForElement(this); if (automationPeer != null) { automationPeer.RaiseAutomationEvent(AutomationEvents.InvokePatternOnInvoked); } } Hyperlink.DoNavigation(this); base.RaiseEvent(new RoutedEventArgs(Hyperlink.ClickEvent, this)); CommandHelpers.ExecuteCommandSource(this); }