8 instantiations of Hyperlink
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
149link = new Hyperlink(id)
Microsoft.VisualStudio.LanguageServices (3)
StackTraceExplorer\StackFrameViewModel.cs (3)
147var classLink = new Hyperlink(); 161var methodLink = new Hyperlink(); 186var fileLink = new Hyperlink();
PresentationFramework (4)
System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
165Hyperlink link = new Hyperlink();
System\Windows\Documents\FixedElement.cs (1)
247Hyperlink link = new Hyperlink
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5636DefaultConstructor = delegate () { return new System.Windows.Documents.Hyperlink(); },
System\Windows\Markup\KnownTypes.cs (1)
1314case KnownElements.Hyperlink: o = new System.Windows.Documents.Hyperlink(); break;
107 references to Hyperlink
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineDiagnostics\InlineDiagnosticsTag.cs (2)
66var idRun = GetRunForId(out var hyperlink); 141Run GetRunForId(out Hyperlink? link)
Microsoft.VisualStudio.LanguageServices (9)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (4)
94internal System.Windows.Documents.Hyperlink IdHyperlink; 134internal System.Windows.Documents.Hyperlink LearnMoreHyperlink; 232this.IdHyperlink = ((System.Windows.Documents.Hyperlink)(target)); 253this.LearnMoreHyperlink = ((System.Windows.Documents.Hyperlink)(target));
PreviewPane\PreviewPane.xaml.cs (1)
386if (sender is not Hyperlink hyperlink)
StackTraceExplorer\StackFrameViewModel.cs (3)
147var classLink = new Hyperlink(); 161var methodLink = new Hyperlink(); 186var fileLink = new Hyperlink();
Utilities\InlineExtensions.cs (1)
16Hyperlink hyperlink => string.Join("", hyperlink.Inlines.Select(GetText)),
PresentationFramework (90)
MS\Internal\AppModel\RequestStatusBarUpdateEventArgs.cs (2)
24base.RoutedEvent = System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent; 39base.RoutedEvent = System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
System\Windows\Automation\Peers\HyperlinkAutomationPeer.cs (5)
17public HyperlinkAutomationPeer(Hyperlink owner) 54Hyperlink owner = (Hyperlink)Owner; 86Hyperlink owner = (Hyperlink)Owner;
System\Windows\Controls\DataGridHyperlinkColumn.cs (5)
28Hyperlink.TargetNameProperty.AddOwner( 119Hyperlink link = outerBlock.Inlines.FirstInline as Hyperlink; 165Hyperlink link = new Hyperlink(); 176ApplyBinding(link, Hyperlink.NavigateUriProperty);
System\Windows\Documents\FixedElement.cs (4)
107Hyperlink.NavigateUriProperty.AddOwner( 247Hyperlink link = new Hyperlink 317Hyperlink.RaiseNavigate(page, args.Uri, null); 420return typeof(Hyperlink);
System\Windows\Documents\FixedPage.cs (2)
552new PropertyChangedCallback(Hyperlink.OnNavigateUriChanged), 553new CoerceValueCallback(Hyperlink.CoerceNavigateUri)));
System\Windows\Documents\FixedTextBuilder.cs (2)
1434_currentFixedElement.SetValue(Hyperlink.NavigateUriProperty, hyperlink.Uri); 1730_currentFixedElement.SetValue(Hyperlink.NavigateUriProperty, navUri);
System\Windows\Documents\Hyperlink.cs (31)
42DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 43_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Hyperlink)); 44FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 45EventManager.RegisterClassHandler(typeof(Hyperlink), Mouse.QueryCursorEvent, new QueryCursorEventHandler(OnQueryCursor)); 104Hyperlink hyperlink = navigator.GetAdjacentElement(LogicalDirection.Forward) as Hyperlink; 144typeof(Hyperlink), 167Hyperlink h = (Hyperlink)d; 258typeof(Hyperlink), 282Hyperlink h = (Hyperlink)d; 295typeof(Hyperlink), 334typeof(Hyperlink), 391= DependencyProperty.Register("TargetName", typeof(String), typeof(Hyperlink), 436typeof(Hyperlink)); 456public static readonly RoutedEvent ClickEvent = System.Windows.Controls.Primitives.ButtonBase.ClickEvent.AddOwner(typeof(Hyperlink)); 471typeof(Hyperlink)); 571Uri cachedUri = Hyperlink.s_cachedNavigateUri; 581if (!(sourceElement is Hyperlink)) 637Hyperlink hl = element as Hyperlink; 687RaiseEvent(new RoutedEventArgs(Hyperlink.ClickEvent, this)); 803Hyperlink link = (Hyperlink)sender; 867typeof(Hyperlink), 900if (fce != null && (fce is Hyperlink)) 923if (!(element is Hyperlink)) 1092Hyperlink hl = sender as Hyperlink;
System\Windows\Documents\TextPointerBase.cs (1)
306return IsInAncestorScope(position, typeof(Inline), typeof(Hyperlink));
System\Windows\Documents\TextRangeEdit.cs (3)
1496else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).IsEmpty) 1498((Hyperlink)startPosition.Parent).Reposition(null, null);
System\Windows\Documents\TextRangeSerialization.cs (7)
218if (nextElement is Hyperlink) 264if (ignoreWriteHyperlinkEnd && (textReader.GetAdjacentElement(LogicalDirection.Forward) is Hyperlink)) 440if (thisElement.ParentType == typeof(Hyperlink)) 1874Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.GetElementType(LogicalDirection.Forward))); 1879Hyperlink hyperlink = (Hyperlink)textReader.GetAdjacentElement(LogicalDirection.Forward); 1923!typeof(Hyperlink).IsAssignableFrom(hyperlinkStart.ParentType))
System\Windows\Documents\TextSchema.cs (14)
129if (typeof(Hyperlink).IsAssignableFrom(childType) || 221if (typeof(Hyperlink).IsAssignableFrom(childType) || 242while (ancestor != null && !(ancestor is Hyperlink)) 372else if (typeof(Hyperlink).IsAssignableFrom(type)) 374return typeof(Hyperlink); 486else if (typeof(Hyperlink).IsAssignableFrom(type)) 819else if (typeof(Hyperlink).IsAssignableFrom(parentType)) 822!typeof(Hyperlink).IsAssignableFrom(childType) && 892if (nextElement is Hyperlink || 947Hyperlink.NavigateUriProperty, 948Hyperlink.TargetNameProperty, 949Hyperlink.CommandProperty, 950Hyperlink.CommandParameterProperty, 951Hyperlink.CommandTargetProperty,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
366case 273: t = () => typeof(Hyperlink); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
3051Type type = typeof(System.Windows.Documents.Hyperlink); 3052DependencyProperty dp = System.Windows.Documents.Hyperlink.NavigateUriProperty; 3054this.GetXamlType(typeof(System.Windows.Documents.Hyperlink)), // DeclaringType 5087Type type = typeof(System.Windows.Documents.Hyperlink); 5089this.GetXamlType(typeof(System.Windows.Documents.Hyperlink)), // DeclaringType 5096GetDelegate = delegate (object target) { return ((System.Windows.Documents.Hyperlink)target).Inlines; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5633typeof(System.Windows.Documents.Hyperlink),
System\Windows\Markup\KnownTypes.cs (2)
1821return System.Windows.Documents.Hyperlink.NavigateUriProperty; 5820case KnownElements.Hyperlink: t = typeof(System.Windows.Documents.Hyperlink); break;
System\Windows\Navigation\NavigationService.cs (2)
3475iie?.RemoveHandler(Hyperlink.RequestNavigateEvent, navHandler); 3487iie?.AddHandler(Hyperlink.RequestNavigateEvent, navHandler);
System\Windows\Navigation\RequestNavigateEventArgs.cs (2)
24base.RoutedEvent=System.Windows.Documents.Hyperlink.RequestNavigateEvent; 38base.RoutedEvent=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
PresentationUI (4)
artifacts\obj\PresentationUI\x86\Debug\net10.0\InstallationError.g.cs (2)
74internal System.Windows.Documents.Hyperlink SupportHyperLink; 146this.SupportHyperLink = ((System.Windows.Documents.Hyperlink)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\TenFeetInstallationError.g.cs (2)
74internal System.Windows.Documents.Hyperlink SupportHyperLink; 154this.SupportHyperLink = ((System.Windows.Documents.Hyperlink)(target));
ReachFramework (2)
Serialization\Manager\ReachSerializationUtils.cs (2)
900if (element is Hyperlink) 902uri = ((Hyperlink)element).NavigateUri;