Table of Contents

Interface IVariantRowViewModel<T>

Namespace
Whim.CommandPalette
Assembly
Whim.CommandPalette.dll
A view model for a single row in a variant.
public interface IVariantRowViewModel<T> : INotifyPropertyChanged

Type Parameters

T
Inherited Members

Properties

FormattedTitle

The formatted title of the palette item.
PaletteText FormattedTitle { get; }

Property Value

PaletteText

Model

The model for the palette item.
IVariantRowModel<T> Model { get; }

Property Value

IVariantRowModel<T>

Remarks

Do not bind to this property. This is only for IVariantViewModel implementations to use. Similarly, do not update this property. Instead, use Update(MatcherResult<T>).

Methods

Update(MatcherResult<T>)

Updates the view model with the result from the matcher.
void Update(MatcherResult<T> matcherResult)

Parameters

matcherResult MatcherResult<T>
The new result.