You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
729 B
20 lines
729 B
<UserControl
|
|
x:Class="DiscordChatExporter.Gui.Views.Controls.HyperLink"
|
|
xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
<TextBlock
|
|
x:Name="TextBlock"
|
|
Cursor="Hand"
|
|
Foreground="{DynamicResource MaterialSecondaryDarkBrush}"
|
|
PointerReleased="TextBlock_OnPointerReleased"
|
|
Text="{Binding $parent[UserControl].Text, Mode=OneWay}">
|
|
<TextBlock.Styles>
|
|
<Style Selector="TextBlock">
|
|
<Style Selector="^:pointerover">
|
|
<Setter Property="TextDecorations" Value="Underline" />
|
|
</Style>
|
|
</Style>
|
|
</TextBlock.Styles>
|
|
</TextBlock>
|
|
</UserControl>
|