BionicCode.Net
BionicCode.Net
BionicCode.Controls.Net.Core.Wpf
HighlightArgs Structure
HighlightArgs Constructor
HighlightArgs Properties
HighlightArgs Methods
HighlightArgs Operators

| # HighlightArgs Constructor

Initializes a new instance of the HighlightArgs class

Namespace: BionicCode.Controls.Net.Core.Wpf
Assembly: BionicCode.Controls.Net.Core.Wpf (in BionicCode.Controls.Net.Core.Wpf.dll) Version: 1.0.0
Syntax
C#
VB
C++
F#
J#
JScript
JavaScript
ASP.NET
X#
Copy

    public HighlightArgs(
    	Brush foreground,
    	Brush background,
    	FontStretch fontStretch,
    	FontStyle fontStyle,
    	FontWeight fontWeight,
    	FontFamily fontFamily,
    	double fontSize,
    	HighlightRichTextBox richTextBox
    )

    Public Sub New (
    	foreground As Brush,
    	background As Brush,
    	fontStretch As FontStretch,
    	fontStyle As FontStyle,
    	fontWeight As FontWeight,
    	fontFamily As FontFamily,
    	fontSize As Double,
    	richTextBox As HighlightRichTextBox
    )

    Dim foreground As Brush
    Dim background As Brush
    Dim fontStretch As FontStretch
    Dim fontStyle As FontStyle
    Dim fontWeight As FontWeight
    Dim fontFamily As FontFamily
    Dim fontSize As Double
    Dim richTextBox As HighlightRichTextBox

    Dim instance As New HighlightArgs(foreground,
    	background, fontStretch, fontStyle,
    	fontWeight, fontFamily, fontSize,
    	richTextBox)

    public:
    HighlightArgs(
    	Brush^ foreground,
    	Brush^ background,
    	FontStretch fontStretch,
    	FontStyle fontStyle,
    	FontWeight fontWeight,
    	FontFamily^ fontFamily,
    	double fontSize,
    	HighlightRichTextBox^ richTextBox
    )

    new :
            foreground : Brush *
            background : Brush *
            fontStretch : FontStretch *
            fontStyle : FontStyle *
            fontWeight : FontWeight *
            fontFamily : FontFamily *
            fontSize : float *
            richTextBox : HighlightRichTextBox -> HighlightArgs

    public HighlightArgs(
    	Brush foreground,
    	Brush background,
    	FontStretch fontStretch,
    	FontStyle fontStyle,
    	FontWeight fontWeight,
    	FontFamily fontFamily,
    	double fontSize,
    	HighlightRichTextBox richTextBox
    )

    public function HighlightArgs(
    	foreground : Brush,
    	background : Brush,
    	fontStretch : FontStretch,
    	fontStyle : FontStyle,
    	fontWeight : FontWeight,
    	fontFamily : FontFamily,
    	fontSize : double,
    	richTextBox : HighlightRichTextBox
    )

    BionicCode.Controls.Net.Core.Wpf.HighlightArgs = function(foreground, background, fontStretch, fontStyle, fontWeight, fontFamily, fontSize, richTextBox);

     CONSTRUCTOR(
    	foreground AS Brush,
    	background AS Brush,
    	fontStretch AS FontStretch,
    	fontStyle AS FontStyle,
    	fontWeight AS FontWeight,
    	fontFamily AS FontFamily,
    	fontSize AS REAL8,
    	richTextBox AS HighlightRichTextBox
    )

#### Parameters

foreground
  Type: System.Windows.Media
  Brush

  [Missing <param name="foreground"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

background
  Type: System.Windows.Media
  Brush

  [Missing <param name="background"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

fontStretch
  Type: System.Windows
  FontStretch

  [Missing <param name="fontStretch"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

fontStyle
  Type: System.Windows
  FontStyle

  [Missing <param name="fontStyle"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

fontWeight
  Type: System.Windows
  FontWeight

  [Missing <param name="fontWeight"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

fontFamily
  Type: System.Windows.Media
  FontFamily

  [Missing <param name="fontFamily"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

fontSize
  Type: System
  Double

  [Missing <param name="fontSize"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

richTextBox
  Type: BionicCode.Controls.Net.Core.Wpf
  HighlightRichTextBox

  [Missing <param name="richTextBox"/> documentation for "M:BionicCode.Controls.Net.Core.Wpf.HighlightArgs.#ctor(System.Windows.Media.Brush,System.Windows.Media.Brush,System.Windows.FontStretch,System.Windows.FontStyle,System.Windows.FontWeight,System.Windows.Media.FontFamily,System.Double,BionicCode.Controls.Net.Core.Wpf.HighlightRichTextBox)"]

See Also

#### Reference

HighlightArgs Structure
BionicCode.Controls.Net.Core.Wpf Namespace
Send comments on this topic to BionicCode@outlook.com
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md