New to Telerik UI for WPFStart a free 30-day trial

This class represents a CaretBrushHelper that workarounds an issue which is related to a bug when setting a CaretBrush to TextBox control through Style in XAML.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public static class CaretBrushHelper

Inheritance: objectCaretBrushHelper

Fields

CaretBrushProperty

DependencyProperty

Identifies the CaretBrush attachable property.

C#
public static readonly DependencyProperty CaretBrushProperty

Methods

Gets the CaretBrush.

C#
public static Brush GetCaretBrush(DependencyObject obj)
Parameters:objDependencyObjectReturns:

Brush

Sets the CaretBrush.

C#
public static void SetCaretBrush(DependencyObject obj, Brush value)
Parameters:objDependencyObjectvalueBrush