Class EditLineStyle
Represents a particular style of the line in Edit control.
[TypeConverter("Alternet.Design.LineStyleConverter, Alternet.Editor.Design.v10")]
[Serializable]
public class EditLineStyle : IEditLineStyle
- Inheritance
-
EditLineStyle
- Implements
Constructors
- EditLineStyle()
Initializes a new instance of the
LineStyleclass with default settings.
- EditLineStyle(ISyntaxEdit)
Initializes a new instance of the
LineStyleclass with a specified owner.
- EditLineStyle(ISyntaxEdit, 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.
- ShouldSerializeBackColor()
Indicates whether the
BackColorproperty should be persisted.
- ShouldSerializeForeColor()
Indicates whether the
ForeColorproperty should be persisted.
- ShouldSerializeOptions()
Indicates whether the
Optionsproperty should be persisted.
- ShouldSerializePenColor()
Indicates whether the
PenColorproperty should be persisted.