Class EditLineStyle
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
LineStyleclass with default settings.
- EditLineStyle(TextEditor)
Initializes a new instance of the
LineStyleclass with a specified owner.
- EditLineStyle(TextEditor, string, Color, Color, Color, int, LineStyleOptions)
Initializes a new instance of the
LineStyleclass 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
IEditLineStyleobject.
- GetBackColor(Color)
Returns
BackColororForeColordepending onOptions.
- GetForeColor(Color)
Returns
ForeColororBackColordepending onOptions.
- ResetBackColor()
Resets the
BackColorto the default value.
- ResetForeColor()
Resets the
ForeColorto the default value.
- ResetImageIndex()
Resets the
ImageIndexto the default value.
- ResetOptions()
Resets the
Optionsto the default value.
- ResetPenColor()
Resets the
PenColorto the default value.