Keyoti RapidFindReplace WPF API Docs
TextBoxBaseHighlightAdorner Constructor (tbb, run, start, length, horizontalScrollBarHeight, bodyHighlightAdornerBrush, bodyHighlightAdornerPen, bodyIterativeHighlightAdornerBrush, bodyIterativeHighlightAdornerPen)
API DocumentationKeyoti.RapidFindReplace.WPF.FindHandlers.HighlightHandlersTextBoxBaseHighlightAdornerTextBoxBaseHighlightAdorner(TextBoxBase, Run, Int32, Int32, Double, Brush, Pen, Brush, Pen)
Keyoti RapidFindReplace WPF
New instance.
Declaration Syntax
C#Visual BasicVisual C++F#
public TextBoxBaseHighlightAdorner(
	TextBoxBase tbb,
	Run run,
	int start,
	int length,
	double horizontalScrollBarHeight,
	Brush bodyHighlightAdornerBrush,
	Pen bodyHighlightAdornerPen,
	Brush bodyIterativeHighlightAdornerBrush,
	Pen bodyIterativeHighlightAdornerPen
)
Public Sub New ( 
	tbb As TextBoxBase,
	run As Run,
	start As Integer,
	length As Integer,
	horizontalScrollBarHeight As Double,
	bodyHighlightAdornerBrush As Brush,
	bodyHighlightAdornerPen As Pen,
	bodyIterativeHighlightAdornerBrush As Brush,
	bodyIterativeHighlightAdornerPen As Pen
)
public:
TextBoxBaseHighlightAdorner(
	TextBoxBase^ tbb, 
	Run^ run, 
	int start, 
	int length, 
	double horizontalScrollBarHeight, 
	Brush^ bodyHighlightAdornerBrush, 
	Pen^ bodyHighlightAdornerPen, 
	Brush^ bodyIterativeHighlightAdornerBrush, 
	Pen^ bodyIterativeHighlightAdornerPen
)
new : 
        tbb : TextBoxBase * 
        run : Run * 
        start : int * 
        length : int * 
        horizontalScrollBarHeight : float * 
        bodyHighlightAdornerBrush : Brush * 
        bodyHighlightAdornerPen : Pen * 
        bodyIterativeHighlightAdornerBrush : Brush * 
        bodyIterativeHighlightAdornerPen : Pen -> TextBoxBaseHighlightAdorner
Parameters
tbb (TextBoxBase)
The textbox to highlight
run (Run)
The Run to highlight
start (Int32)
The start index of the highlight
length (Int32)
The 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)