Table of Contents

Class EditLineStyle

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

Represents a particular style of the line in Edit control.

[TypeConverter("Alternet.Design.LineStyleConverter, Alternet.Editor.Design.v9")]
[Serializable]
public class EditLineStyle : IEditLineStyle
Inheritance
EditLineStyle
Implements

Constructors

EditLineStyle()

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

EditLineStyle(ISyntaxEdit)

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

EditLineStyle(ISyntaxEdit, string, Color, Color, Color, int, LineStyleOptions)

Initializes a new instance of the LineStyle class with specified parameters.

Properties

BackColor

Gets or sets background color of the EditLineStyle.

ForeColor

Gets or sets foreground color of the EditLineStyle.

ImageIndex

Gets or sets the index of the image displayed for the EditLineStyle.

Name

Gets or sets name of the EditLineStyle.

Options

Gets or sets display options for the EditLineStyle.

PenColor

Gets or sets background color of the EditLineStyle.

Methods

Assign(IEditLineStyle)

Copies the contents from another IEditLineStyle object.

BeginUpdate()
EndUpdate()
GetBackColor(Color)

Returns BackColor or ForeColor depending on Options.

GetForeColor(Color)

Returns ForeColor or BackColor depending on Options.

OnBackColorChanged()
OnForeColorChanged()
OnImageIndexChanged()
OnNameChanged()
OnOptionsChanged()
OnPenColorChanged()
ResetBackColor()

Resets the BackColor to the default value.

ResetForeColor()

Resets the ForeColor to the default value.

ResetImageIndex()

Resets the ImageIndex to the default value.

ResetOptions()

Resets the Options to the default value.

ResetPenColor()

Resets the PenColor to the default value.

ShouldSerializeBackColor()

Indicates whether the BackColor property should be persisted.

ShouldSerializeForeColor()

Indicates whether the ForeColor property should be persisted.

ShouldSerializeOptions()

Indicates whether the Options property should be persisted.

ShouldSerializePenColor()

Indicates whether the PenColor property should be persisted.

Update()