Table of Contents

Class SelectVariantConfig

Namespace
Whim.CommandPalette
Assembly
Whim.CommandPalette.dll
Config for activating the command palette with checkboxes (referred to as "Select").
public record SelectVariantConfig : BaseVariantConfig, IEquatable<BaseVariantConfig>, IEquatable<SelectVariantConfig>
Inheritance
SelectVariantConfig
Implements
Inherited Members

Properties

Callback

The callback to invoke when the user has selected from the available options. All items are passed in, so that the callback can determine which items were selected.
public required SelectVariantCallback Callback { get; init; }

Property Value

SelectVariantCallback

Matcher

The matcher to use to filter the results.
public IMatcher<SelectOption> Matcher { get; init; }

Property Value

IMatcher<SelectOption>

Options

The options to display in the select.
public required IEnumerable<SelectOption> Options { get; init; }

Property Value

IEnumerable<SelectOption>