Struct ScyllaSearchablePopup.Item
One selectable popup item.
Inherited Members
Namespace: Scylla.Core.Editor
Assembly: ScyllaCore.Editor.dll
Syntax
public readonly struct ScyllaSearchablePopup.Item
Constructors
Item(string, string, object)
Creates a popup item.
Declaration
public Item(string label, string detail, object payload)
Parameters
| Type | Name | Description |
|---|---|---|
| string | label | The primary label. |
| string | detail | The secondary detail line, or |
| object | payload | The caller payload. |
Item(string, string, object, string)
Creates a popup item with an inline qualifier.
Declaration
public Item(string label, string detail, object payload, string suffix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | label | The primary label. |
| string | detail | The secondary detail line, or |
| object | payload | The caller payload. |
| string | suffix | Muted text shown after the label, or |
Fields
Detail
The muted secondary line, hidden when empty.
Declaration
public readonly string Detail
Field Value
| Type | Description |
|---|---|
| string |
Label
The primary label, and the only text the filter matches.
Declaration
public readonly string Label
Field Value
| Type | Description |
|---|---|
| string |
Payload
The caller's payload, handed back untouched on pick.
Declaration
public readonly object Payload
Field Value
| Type | Description |
|---|---|
| object |
Suffix
Muted text shown on the same line, immediately after the label.
Declaration
public readonly string Suffix
Field Value
| Type | Description |
|---|---|
| string |
Remarks
For a short qualifier that belongs with the name rather than under it, such as which asset an entry comes from. Detail puts its text on a second line, which reads as a description; this reads as part of the same phrase.
Not matched by the filter. The label is what a reader types, and matching a qualifier would return rows whose names have nothing to do with the query.