New WPF Features: CaretBrushSelectionBrush

This is part of a series on New WPF Features

There have been quite a few asks for changing the selection color and the caret color. We have now provide 2 properties to make this possible

  • CaretBrush
  • SelectionBrush  

An example usage would be like

  • SelectionBrush="RED"
  • SelectionOpacity="0.3" (Default value is 0.6)
  • CaretBrush="Red"

 

These properties are avaialble on controls that allow selection\caret.

Share this post