Sets the caret brush.
Syntax
'Declaration
Public Shared Sub SetCaretBrush( _
ByVal As System.Windows.FrameworkElement, _
ByVal As System.Windows.Media.Brush _
)
'Usage
Dim element As System.Windows.FrameworkElement
Dim value As System.Windows.Media.Brush
ClearStyleExtensions.SetCaretBrush(element, value)
public static void SetCaretBrush(
System.Windows.FrameworkElement ,
System.Windows.Media.Brush
)
Parameters
- element
- The element which contains the attached property.
- value
- The brush used in the caret state.
See Also