Table of Contents

Class EditLineStyle

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

Represents a particular style of the line in Edit control.

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

Constructors

EditLineStyle()

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

EditLineStyle(TextEditor)

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

EditLineStyle(TextEditor, 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.

Update()