8 instantiations of Hyperlink
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
150link = new Hyperlink(id)
Microsoft.VisualStudio.LanguageServices (3)
StackTraceExplorer\StackFrameViewModel.cs (3)
155var classLink = new Hyperlink(); 169var methodLink = new Hyperlink(); 194var fileLink = new Hyperlink();
PresentationFramework (4)
System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
173Hyperlink link = new Hyperlink();
System\Windows\Documents\FixedElement.cs (1)
254Hyperlink link = new Hyperlink();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5172bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.Hyperlink(); };
System\Windows\Markup\KnownTypes.cs (1)
1321case KnownElements.Hyperlink: o = new System.Windows.Documents.Hyperlink(); break;
107 references to Hyperlink
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineDiagnostics\InlineDiagnosticsTag.cs (2)
67var idRun = GetRunForId(out var hyperlink); 142Run 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)
385if (sender is not Hyperlink hyperlink)
StackTraceExplorer\StackFrameViewModel.cs (3)
155var classLink = new Hyperlink(); 169var methodLink = new Hyperlink(); 194var fileLink = new Hyperlink();
Utilities\InlineExtensions.cs (1)
16Hyperlink hyperlink => string.Join("", hyperlink.Inlines.Select(GetText)),
PresentationFramework (90)
MS\Internal\AppModel\RequestStatusBarUpdateEventArgs.cs (2)
28base.RoutedEvent = System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent; 43base.RoutedEvent = System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
System\Windows\Automation\Peers\HyperlinkAutomationPeer.cs (5)
18public HyperlinkAutomationPeer(Hyperlink owner) 55Hyperlink owner = (Hyperlink)Owner; 87Hyperlink owner = (Hyperlink)Owner;
System\Windows\Controls\DataGridHyperlinkColumn.cs (5)
35Hyperlink.TargetNameProperty.AddOwner( 127Hyperlink link = outerBlock.Inlines.FirstInline as Hyperlink; 173Hyperlink link = new Hyperlink(); 184ApplyBinding(link, Hyperlink.NavigateUriProperty);
System\Windows\Documents\FixedElement.cs (4)
116Hyperlink.NavigateUriProperty.AddOwner( 254Hyperlink link = new Hyperlink(); 320Hyperlink.RaiseNavigate(page, args.Uri, null); 423return typeof(Hyperlink);
System\Windows\Documents\FixedPage.cs (2)
559new PropertyChangedCallback(Hyperlink.OnNavigateUriChanged), 560new CoerceValueCallback(Hyperlink.CoerceNavigateUri)));
System\Windows\Documents\FixedTextBuilder.cs (2)
1444_currentFixedElement.SetValue(Hyperlink.NavigateUriProperty, hyperlink.Uri); 1739_currentFixedElement.SetValue(Hyperlink.NavigateUriProperty, navUri);
System\Windows\Documents\Hyperlink.cs (31)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 50_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Hyperlink)); 51FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 52EventManager.RegisterClassHandler(typeof(Hyperlink), Mouse.QueryCursorEvent, new QueryCursorEventHandler(OnQueryCursor)); 111Hyperlink hyperlink = navigator.GetAdjacentElement(LogicalDirection.Forward) as Hyperlink; 151typeof(Hyperlink), 174Hyperlink h = (Hyperlink)d; 265typeof(Hyperlink), 289Hyperlink h = (Hyperlink)d; 302typeof(Hyperlink), 341typeof(Hyperlink), 398= DependencyProperty.Register("TargetName", typeof(String), typeof(Hyperlink), 443typeof(Hyperlink)); 463public static readonly RoutedEvent ClickEvent = System.Windows.Controls.Primitives.ButtonBase.ClickEvent.AddOwner(typeof(Hyperlink)); 478typeof(Hyperlink)); 578Uri cachedUri = Hyperlink.s_cachedNavigateUri; 588if (!(sourceElement is Hyperlink)) 642Hyperlink hl = element as Hyperlink; 693RaiseEvent(new RoutedEventArgs(Hyperlink.ClickEvent, this)); 809Hyperlink link = (Hyperlink)sender; 872typeof(Hyperlink), 905if (fce != null && (fce is Hyperlink)) 928if (!(element is Hyperlink)) 1097Hyperlink hl = sender as Hyperlink;
System\Windows\Documents\TextPointerBase.cs (1)
309return IsInAncestorScope(position, typeof(Inline), typeof(Hyperlink));
System\Windows\Documents\TextRangeEdit.cs (3)
1499else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).IsEmpty) 1501((Hyperlink)startPosition.Parent).Reposition(null, null);
System\Windows\Documents\TextRangeSerialization.cs (7)
225if (nextElement is Hyperlink) 271if (ignoreWriteHyperlinkEnd && (textReader.GetAdjacentElement(LogicalDirection.Forward) is Hyperlink)) 447if (thisElement.ParentType == typeof(Hyperlink)) 1881Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.GetElementType(LogicalDirection.Forward))); 1886Hyperlink hyperlink = (Hyperlink)textReader.GetAdjacentElement(LogicalDirection.Forward); 1930!typeof(Hyperlink).IsAssignableFrom(hyperlinkStart.ParentType))
System\Windows\Documents\TextSchema.cs (14)
131if (typeof(Hyperlink).IsAssignableFrom(childType) || 223if (typeof(Hyperlink).IsAssignableFrom(childType) || 244while (ancestor != null && !(ancestor is Hyperlink)) 374else if (typeof(Hyperlink).IsAssignableFrom(type)) 376return typeof(Hyperlink); 488else if (typeof(Hyperlink).IsAssignableFrom(type)) 826else if (typeof(Hyperlink).IsAssignableFrom(parentType)) 829!typeof(Hyperlink).IsAssignableFrom(childType) && 899if (nextElement is Hyperlink || 954Hyperlink.NavigateUriProperty, 955Hyperlink.TargetNameProperty, 956Hyperlink.CommandProperty, 957Hyperlink.CommandParameterProperty, 958Hyperlink.CommandTargetProperty,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
369case 273: t = () => typeof(Hyperlink); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
2950Type type = typeof(System.Windows.Documents.Hyperlink); 2951DependencyProperty dp = System.Windows.Documents.Hyperlink.NavigateUriProperty; 2953this.GetXamlType(typeof(System.Windows.Documents.Hyperlink)), // DeclaringType 4798Type type = typeof(System.Windows.Documents.Hyperlink); 4800this.GetXamlType(typeof(System.Windows.Documents.Hyperlink)), // DeclaringType 4806bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.Hyperlink)target).Inlines; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5170typeof(System.Windows.Documents.Hyperlink),
System\Windows\Markup\KnownTypes.cs (2)
1828return System.Windows.Documents.Hyperlink.NavigateUriProperty; 5827case KnownElements.Hyperlink: t = typeof(System.Windows.Documents.Hyperlink); break;
System\Windows\Navigation\NavigationService.cs (2)
3542iie.RemoveHandler(Hyperlink.RequestNavigateEvent, navHandler); 3557iie.AddHandler(Hyperlink.RequestNavigateEvent, navHandler);
System\Windows\Navigation\RequestNavigateEventArgs.cs (2)
31base.RoutedEvent=System.Windows.Documents.Hyperlink.RequestNavigateEvent; 45base.RoutedEvent=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
PresentationUI (4)
artifacts\obj\PresentationUI\Debug\net9.0\InstallationError.g.cs (2)
74internal System.Windows.Documents.Hyperlink SupportHyperLink; 146this.SupportHyperLink = ((System.Windows.Documents.Hyperlink)(target));
artifacts\obj\PresentationUI\Debug\net9.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)
913if (element is Hyperlink) 915uri = ((Hyperlink)element).NavigateUri;