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
ViewModel
The view model for the control.
IVariantViewModel ViewModel { get; }
Property Value
Methods
GetViewMaxHeight()
Gets the height of Control in pixels. This is used for manually setting the
command palette window height.
double GetViewMaxHeight()