Table of Contents

Class PaletteText

Namespace
Whim.CommandPalette
Assembly
Whim.CommandPalette.dll
The segments which make up the highlighted text.
public record PaletteText : IEquatable<PaletteText>
Inheritance
PaletteText
Implements
Inherited Members

Constructors

PaletteText()

Creates an empty instance of the PaletteText class.
public PaletteText()

PaletteText(string)

Creates a new instance of the PaletteText class from the specified text.
public PaletteText(string text)

Parameters

text string

Remarks

A single segment of text is created, with no highlighting.

Properties

Segments

The segments of text.
public IList<PaletteTextSegment> Segments { get; }

Property Value

IList<PaletteTextSegment>