We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad37371 commit 380e1e7Copy full SHA for 380e1e7
functions/public/Invoke-WPFUIElements.ps1
@@ -304,13 +304,6 @@ function Invoke-WPFUIElements {
304
$textBlock.ToolTip = $entryInfo.Link
305
$textBlock.Style = $HoverTextBlockStyle
306
307
- # Add event handler for click to open link
308
- $handler = [System.Windows.Input.MouseButtonEventHandler]{
309
- param($sender, $e)
310
- Start-Process $sender.ToolTip.ToString()
311
- }
312
- $textBlock.AddHandler([Windows.Controls.TextBlock]::MouseLeftButtonUpEvent, $handler)
313
-
314
$horizontalStackPanel.Children.Add($textBlock) | Out-Null
315
316
$sync[$textBlock.Name] = $textBlock
0 commit comments