2 changed files with 8 additions and 3 deletions
@ -1,10 +1,14 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" |
|||
<ResourceDictionary xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|||
<Design.PreviewWith> |
|||
<RichTextBlock IsTextSelectionEnabled="True" Text="Preview"/> |
|||
</Design.PreviewWith> |
|||
|
|||
<Style Selector="RichTextBlock[IsTextSelectionEnabled=true]"> |
|||
<ControlTheme x:Key="{x:Type RichTextBlock}" TargetType="RichTextBlock"> |
|||
<Style Selector="^[IsTextSelectionEnabled=True]"> |
|||
<Setter Property="Cursor" Value="IBeam" /> |
|||
</Style> |
|||
</Styles> |
|||
</ControlTheme> |
|||
|
|||
|
|||
</ResourceDictionary> |
|||
|
|||
Loading…
Reference in new issue