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)
166Hyperlink link = new Hyperlink();
System\Windows\Documents\FixedElement.cs (1)
248Hyperlink link = new Hyperlink
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5637DefaultConstructor = delegate () { return new System.Windows.Documents.Hyperlink(); },
System\Windows\Markup\KnownTypes.cs (1)
1315case 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)
25base.RoutedEvent = System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent; 40base.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)
29Hyperlink.TargetNameProperty.AddOwner( 120Hyperlink link = outerBlock.Inlines.FirstInline as Hyperlink; 166Hyperlink link = new Hyperlink(); 177ApplyBinding(link, Hyperlink.NavigateUriProperty);
System\Windows\Documents\FixedElement.cs (4)
108Hyperlink.NavigateUriProperty.AddOwner( 248Hyperlink link = new Hyperlink 318Hyperlink.RaiseNavigate(page, args.Uri, null); 421return typeof(Hyperlink);
System\Windows\Documents\FixedPage.cs (2)
553new PropertyChangedCallback(Hyperlink.OnNavigateUriChanged), 554new CoerceValueCallback(Hyperlink.CoerceNavigateUri)));
System\Windows\Documents\FixedTextBuilder.cs (2)
1438_currentFixedElement.SetValue(Hyperlink.NavigateUriProperty, hyperlink.Uri); 1734_currentFixedElement.SetValue(Hyperlink.NavigateUriProperty, navUri);
System\Windows\Documents\Hyperlink.cs (31)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 44_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Hyperlink)); 45FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 46EventManager.RegisterClassHandler(typeof(Hyperlink), Mouse.QueryCursorEvent, new QueryCursorEventHandler(OnQueryCursor)); 105Hyperlink hyperlink = navigator.GetAdjacentElement(LogicalDirection.Forward) as Hyperlink; 145typeof(Hyperlink), 168Hyperlink h = (Hyperlink)d; 259typeof(Hyperlink), 283Hyperlink h = (Hyperlink)d; 296typeof(Hyperlink), 335typeof(Hyperlink), 392= DependencyProperty.Register("TargetName", typeof(String), typeof(Hyperlink), 437typeof(Hyperlink)); 457public static readonly RoutedEvent ClickEvent = System.Windows.Controls.Primitives.ButtonBase.ClickEvent.AddOwner(typeof(Hyperlink)); 472typeof(Hyperlink)); 572Uri cachedUri = Hyperlink.s_cachedNavigateUri; 582if (!(sourceElement is Hyperlink)) 638Hyperlink hl = element as Hyperlink; 689RaiseEvent(new RoutedEventArgs(Hyperlink.ClickEvent, this)); 805Hyperlink link = (Hyperlink)sender; 868typeof(Hyperlink), 901if (fce != null && (fce is Hyperlink)) 924if (!(element is Hyperlink)) 1093Hyperlink hl = sender as Hyperlink;
System\Windows\Documents\TextPointerBase.cs (1)
307return IsInAncestorScope(position, typeof(Inline), typeof(Hyperlink));
System\Windows\Documents\TextRangeEdit.cs (3)
1497else if (startPosition.Parent is Hyperlink && ((Hyperlink)startPosition.Parent).IsEmpty) 1499((Hyperlink)startPosition.Parent).Reposition(null, null);
System\Windows\Documents\TextRangeSerialization.cs (7)
219if (nextElement is Hyperlink) 265if (ignoreWriteHyperlinkEnd && (textReader.GetAdjacentElement(LogicalDirection.Forward) is Hyperlink)) 441if (thisElement.ParentType == typeof(Hyperlink)) 1875Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.GetElementType(LogicalDirection.Forward))); 1880Hyperlink hyperlink = (Hyperlink)textReader.GetAdjacentElement(LogicalDirection.Forward); 1924!typeof(Hyperlink).IsAssignableFrom(hyperlinkStart.ParentType))
System\Windows\Documents\TextSchema.cs (14)
130if (typeof(Hyperlink).IsAssignableFrom(childType) || 222if (typeof(Hyperlink).IsAssignableFrom(childType) || 243while (ancestor != null && !(ancestor is Hyperlink)) 373else if (typeof(Hyperlink).IsAssignableFrom(type)) 375return typeof(Hyperlink); 487else if (typeof(Hyperlink).IsAssignableFrom(type)) 820else if (typeof(Hyperlink).IsAssignableFrom(parentType)) 823!typeof(Hyperlink).IsAssignableFrom(childType) && 893if (nextElement is Hyperlink || 948Hyperlink.NavigateUriProperty, 949Hyperlink.TargetNameProperty, 950Hyperlink.CommandProperty, 951Hyperlink.CommandParameterProperty, 952Hyperlink.CommandTargetProperty,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
367case 273: t = () => typeof(Hyperlink); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
3052Type type = typeof(System.Windows.Documents.Hyperlink); 3053DependencyProperty dp = System.Windows.Documents.Hyperlink.NavigateUriProperty; 3055this.GetXamlType(typeof(System.Windows.Documents.Hyperlink)), // DeclaringType 5088Type type = typeof(System.Windows.Documents.Hyperlink); 5090this.GetXamlType(typeof(System.Windows.Documents.Hyperlink)), // DeclaringType 5097GetDelegate = delegate (object target) { return ((System.Windows.Documents.Hyperlink)target).Inlines; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5634typeof(System.Windows.Documents.Hyperlink),
System\Windows\Markup\KnownTypes.cs (2)
1822return System.Windows.Documents.Hyperlink.NavigateUriProperty; 5821case KnownElements.Hyperlink: t = typeof(System.Windows.Documents.Hyperlink); break;
System\Windows\Navigation\NavigationService.cs (2)
3514iie.RemoveHandler(Hyperlink.RequestNavigateEvent, navHandler); 3529iie.AddHandler(Hyperlink.RequestNavigateEvent, navHandler);
System\Windows\Navigation\RequestNavigateEventArgs.cs (2)
25base.RoutedEvent=System.Windows.Documents.Hyperlink.RequestNavigateEvent; 39base.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)
902if (element is Hyperlink) 904uri = ((Hyperlink)element).NavigateUri;