Class
CaretBrushHelper

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:

cs-api-definition
public static class CaretBrushHelper

Inheritance: objectCaretBrushHelper

Fields

CaretBrushProperty

Identifies the CaretBrush attachable property.

Declaration

cs-api-definition
public static readonly DependencyProperty CaretBrushProperty

Field Value

DependencyProperty

Methods

GetCaretBrush(DependencyObject)

Gets the CaretBrush.

Declaration

cs-api-definition
public static Brush GetCaretBrush(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Brush

SetCaretBrush(DependencyObject, Brush)

Sets the CaretBrush.

Declaration

cs-api-definition
public static void SetCaretBrush(DependencyObject obj, Brush value)

Parameters

obj

DependencyObject

value

Brush