Keyoti RapidFindReplace WPF API Docs
TextBoxHighlightAdorner Constructor (adornedElement, start, length, horizontalScrollBarHeight, bodyHighlightAdornerBrush, bodyHighlightAdornerPen, bodyIterativeHighlightAdornerBrush, bodyIterativeHighlightAdornerPen)
API DocumentationKeyoti.RapidFindReplace.WPF.FindHandlers.HighlightHandlersTextBoxHighlightAdornerTextBoxHighlightAdorner(TextBox, Int32, Int32, Double, Brush, Pen, Brush, Pen)
Keyoti RapidFindReplace WPF
New instance.
Declaration Syntax
C#Visual BasicVisual C++F#
public TextBoxHighlightAdorner(
	TextBox adornedElement,
	int start,
	int length,
	double horizontalScrollBarHeight,
	Brush bodyHighlightAdornerBrush,
	Pen bodyHighlightAdornerPen,
	Brush bodyIterativeHighlightAdornerBrush,
	Pen bodyIterativeHighlightAdornerPen
)
Public Sub New ( 
	adornedElement As TextBox,
	start As Integer,
	length As Integer,
	horizontalScrollBarHeight As Double,
	bodyHighlightAdornerBrush As Brush,
	bodyHighlightAdornerPen As Pen,
	bodyIterativeHighlightAdornerBrush As Brush,
	bodyIterativeHighlightAdornerPen As Pen
)
public:
TextBoxHighlightAdorner(
	TextBox^ adornedElement, 
	int start, 
	int length, 
	double horizontalScrollBarHeight, 
	Brush^ bodyHighlightAdornerBrush, 
	Pen^ bodyHighlightAdornerPen, 
	Brush^ bodyIterativeHighlightAdornerBrush, 
	Pen^ bodyIterativeHighlightAdornerPen
)
new : 
        adornedElement : TextBox * 
        start : int * 
        length : int * 
        horizontalScrollBarHeight : float * 
        bodyHighlightAdornerBrush : Brush * 
        bodyHighlightAdornerPen : Pen * 
        bodyIterativeHighlightAdornerBrush : Brush * 
        bodyIterativeHighlightAdornerPen : Pen -> TextBoxHighlightAdorner
Parameters
adornedElement (TextBox)
The TextBox to highlight
start (Int32)
Start index of the highlight
length (Int32)
Length of the highlight
horizontalScrollBarHeight (Double)
Height of the horizontal scrollbar
bodyHighlightAdornerBrush (Brush)
Brush to paint highlight with
bodyHighlightAdornerPen (Pen)
Pen to paint highlight border with, specifying a pen can slow down painting when highlights span multiple lines.
bodyIterativeHighlightAdornerBrush (Brush)
Brush to paint iterative highlight with
bodyIterativeHighlightAdornerPen (Pen)
Pen to draw iterative highlight border with

Assembly: Keyoti4.RapidFindReplace.WPF (Module: Keyoti4.RapidFindReplace.WPF.dll) Version: 1.0.14.531 (1.0.14.531)