EntryLook struct
Namespace: Arlecchino.Widgets.Text · Assembly: Arlecchino
How a line being typed into is written: the text itself, the part of it that is selected, and the one symbol the caret stands on, which is written the other way round.
public readonly struct EntryLook : IEquatable<EntryLook>
Implements IEquatable<T><EntryLook>
Constructors
| Member | Summary |
|---|---|
EntryLook(IArlecchinoColor, IArlecchinoColor, IArlecchinoColor) | How a line being typed into is written: the text itself, the part of it that is selected, and the one symbol the caret stands on, which is written the other way round. |
Properties
| Member | Summary |
|---|---|
Caret | What the symbol under the caret is written in. |
Selection | What the selected part of it is written in. |
Text | What the line is written in. |
Methods
| Member | Summary |
|---|---|
Deconstruct(out IArlecchinoColor, out IArlecchinoColor, out IArlecchinoColor) |
Constructors in detail
EntryLook(IArlecchinoColor, IArlecchinoColor, IArlecchinoColor)
public EntryLook(IArlecchinoColor Text, IArlecchinoColor Selection, IArlecchinoColor Caret);
How a line being typed into is written: the text itself, the part of it that is selected, and the one symbol the caret stands on, which is written the other way round.
Parameters
| Name | Type | Description |
|---|---|---|
Text | IArlecchinoColor | What the line is written in. |
Selection | IArlecchinoColor | What the selected part of it is written in. |
Caret | IArlecchinoColor | What the symbol under the caret is written in. |
Properties in detail
Caret
public IArlecchinoColor Caret { get; init; }
What the symbol under the caret is written in.
Type IArlecchinoColor
Selection
public IArlecchinoColor Selection { get; init; }
What the selected part of it is written in.
Type IArlecchinoColor
Text
public IArlecchinoColor Text { get; init; }
What the line is written in.
Type IArlecchinoColor
Methods in detail
Deconstruct(out IArlecchinoColor, out IArlecchinoColor, out IArlecchinoColor)
public void Deconstruct(
out IArlecchinoColor Text,
out IArlecchinoColor Selection,
out IArlecchinoColor Caret);
Parameters
| Name | Type | Description |
|---|---|---|
Text | IArlecchinoColor | |
Selection | IArlecchinoColor | |
Caret | IArlecchinoColor |