Table of Contents

Class LexStyle

Namespace
Alternet.Syntax.Lexer
Assembly
Alternet.Syntax.v9.dll

Represents an individual lexical style with the collection of lexical styles.

public class LexStyle : ILexStyle
Inheritance
LexStyle
Implements

Constructors

LexStyle()

Initializes a new instance of the LexStyle class with default settings.

LexStyle(ILexScheme)

Initializes a new instance of the LexStyle class with a specified owner.

Properties

BackColor

Gets or sets a background color of the LexStyle.

BackColorEnabled

Gets or sets a flag that indicates whether the GUI control that corresponds to the BackColor property should be enabled or disabled.

BoldEnabled

Gets or sets a flag that indicates whether the GUI control that corresponds to the Bold property should be enabled or disabled.

Desc

Gets or sets a description of the LexStyle.

FontStyle

Gets or sets a font style of the LexStyle.

ForeColor

Gets or sets a foreground color of the LexStyle.

ForeColorEnabled

Gets or sets a flag that indicates whether the GUI control that corresponds to the ForeColor property should be enabled or disabled.

Index

Gets or sets index of this LexStyle within the lexical style collection.

ItalicEnabled

Gets or sets a flag that indicates whether the GUI control that corresponds to the Italic property should be enabled or disabled.

Name

Gets or sets name of the LexStyle.

PlainText

Gets or sets value indicating whether Edit control should use text formatting rules, like checking spelling.

Scheme

Gets or sets ILexScheme that owns this LexStyle.

SerializationInfo

Gets or sets an xml representation of this LexStyle object.

UnderlineEnabled

Gets or sets a flag that indicates whether the GUI control that corresponds to the Underline property should be enabled or disabled.

Methods

Assign(ILexStyle)

Copies the contents of another ILexStyle object.

OnBackColorChanged()
OnBackColorEnabledChanged()
OnBoldEnabledChanged()
OnDescChanged()
OnFontStyleChanged()
OnForeColorChanged()
OnForeColorEnabledChanged()
OnItalicEnabledChanged()
OnNameChanged()
OnPlainTextChanged()
OnUnderlineEnabledChanged()
ResetBackColor()

Resets the BackColor to the default value.

ResetFontStyle()

Resets the FontStyle to the default value.

ResetForeColor()

Resets the ForeColor to the default value.

ResetPlainText()

Resets the PlainText to the default value.