Represent the selection paiting primitive
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class TextBoxSelectionPrimitive : IPrimitive
Inheritance: objectTextBoxSelectionPrimitive
Implements:
Constructors
Initializes a new instance of the TextBoxSelectionPrimitive class.
C#
public TextBoxSelectionPrimitive(RadTextBoxControlElement textBox)
The text box.
Properties
Gets or sets a value indicating whether the selection should be hidden if focused is lost
C#
public bool HideSelection { get; set; }
true if [hide selection]; otherwise, false.
Gets or sets the color of the selection.
C#
public Color SelectionColor { get; set; }
The color of the selection.
Gets or sets the selection opacity.
C#
public int SelectionOpacity { get; set; }
The selection opacity.
Gets or sets a value indicating whether the primitive should be painted be painted.
C#
public bool ShouldPaint { get; set; }
Implements:
Gets the associated text box element.
C#
public RadTextBoxControlElement TextBoxElement { get; }
Methods
Invalidates the specified selection start.
C#
public virtual void Invalidate(TextPosition selectionStart, TextPosition selectionEnd, bool repaint)
The selection start.
selectionEndTextPositionThe selection end.
repaintboolif set to true [repaint].