AvaloniaEdit
AvaloniaEdit copied to clipboard
[Help] How to set SelectionBrush, CaretBrush in XAML
How do I style the CaretBrush, SelectionBrush, and SelectionForeground in XAML? I noticed SelectionBrush and SelectionForeground are properties of TextEditor.TextArea and CaretBrush is a property of TextEditor.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 its CaretBrush and SelectionBrush properties.
Might be a good idea to create some labels for Help Wanted because the docs for this library and AvalonEdit are pretty scarce.