Interface IVariantRowView<T, TVM>
- Namespace
- Whim.CommandPalette
- Assembly
- Whim.CommandPalette.dll
A control that represents a single row in a variant.
public interface IVariantRowView<T, TVM> where TVM : IVariantRowViewModel<T>
Type Parameters
T
- The variant item's data type.
TVM
- The variant item's view model type.
- Extension Methods
Properties
ViewModel
The item displayed by this row.
TVM ViewModel { get; }
Property Value
- TVM
Methods
Initialize()
Initializes the row. For example, sets the title.
void Initialize()
Update(MatcherResult<T>)
Updates the row with the result from the matcher.
void Update(MatcherResult<T> matcherResult)
Parameters
matcherResult
MatcherResult<T>- The new result.