Table of Contents

Interface IVariantControl

Namespace
Whim.CommandPalette
Assembly
Whim.CommandPalette.dll
Wrapper for a palette variant control and view model which can be rendered in the palette window.
public interface IVariantControl

Properties

Control

The control to render.
UIElement Control { get; }

Property Value

UIElement

ViewModel

The view model for the control.
IVariantViewModel ViewModel { get; }

Property Value

IVariantViewModel

Methods

GetViewMaxHeight()

Gets the height of Control in pixels. This is used for manually setting the command palette window height.
double GetViewMaxHeight()

Returns

double
The height of Control in pixels.