Keyoti RapidFindReplace WPF API Docs
HighlightAdorner Constructor (adornedElement, run, start, length, horizontalScrollBarHeight, bodyHighlightAdornerBrush, bodyHighlightAdornerPen, bodyIterativeHighlightAdornerBrush, bodyIterativeHighlightAdornerPen)
API DocumentationKeyoti.RapidFindReplace.WPF.FindHandlers.HighlightHandlersHighlightAdornerHighlightAdorner(UIElement, Run, Int32, Int32, Double, Brush, Pen, Brush, Pen)
Keyoti RapidFindReplace WPF
New instance.
Declaration Syntax
C#Visual BasicVisual C++F#
public HighlightAdorner(
	UIElement adornedElement,
	Run run,
	int start,
	int length,
	double horizontalScrollBarHeight,
	Brush bodyHighlightAdornerBrush,
	Pen bodyHighlightAdornerPen,
	Brush bodyIterativeHighlightAdornerBrush,
	Pen bodyIterativeHighlightAdornerPen
)
Public Sub New ( 
	adornedElement As UIElement,
	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:
HighlightAdorner(
	UIElement^ adornedElement, 
	Run^ run, 
	int start, 
	int length, 
	double horizontalScrollBarHeight, 
	Brush^ bodyHighlightAdornerBrush, 
	Pen^ bodyHighlightAdornerPen, 
	Brush^ bodyIterativeHighlightAdornerBrush, 
	Pen^ bodyIterativeHighlightAdornerPen
)
new : 
        adornedElement : UIElement * 
        run : Run * 
        start : int * 
        length : int * 
        horizontalScrollBarHeight : float * 
        bodyHighlightAdornerBrush : Brush * 
        bodyHighlightAdornerPen : Pen * 
        bodyIterativeHighlightAdornerBrush : Brush * 
        bodyIterativeHighlightAdornerPen : Pen -> HighlightAdorner
Parameters
adornedElement (UIElement)
The element that will be adorned.
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)