[Help] How to set SelectionBrush, CaretBrush in XAML #356
Unanswered
davidtimovski
asked this question in
Q&A
Replies: 3 comments
-
Did you ever get an answer to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nope. I have found zero docs on how to alter any of the styles on this thing. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found this useful
#199
Shows how to set the selectionbrush for the text area
…On Wed 8 Mar 2023, 21:58 David Timovski, ***@***.***> wrote:
Nope. I have found zero docs on how to alter any of the styles on this
thing.
—
Reply to this email directly, view it on GitHub
<#241 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJPLP7JNK7VOCUXTCQTLSHDW3D6HTANCNFSM55BJRBTQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I style the
CaretBrush
,SelectionBrush
, andSelectionForeground
in XAML? I noticedSelectionBrush
andSelectionForeground
are properties ofTextEditor.TextArea
andCaretBrush
is a property ofTextEditor.TextArea.Caret
but I'm unsure how to bind them in XAML. Probably a basic lack of XAML knowledge on my part.Previously I was using
TextBox
and I bound to itsCaretBrush
andSelectionBrush
properties.Might be a good idea to create some labels for Help Wanted because the docs for this library and AvalonEdit are pretty scarce.
Beta Was this translation helpful? Give feedback.
All reactions