New instance.
Declaration Syntax
C# | Visual Basic | Visual 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)