In This Article

IVariantControl Interface

Provides the base requirements for a controls that can alter its layout based on a VariantSize setting.

public interface IVariantControl

Properties

Context

Gets or sets a ControlContext that describes the current context of the control.

ControlContext Context { get; set; }

Property Value

ControlContext:

A ControlContext that describes the current context of the control.

VariantSize

Gets or sets a VariantSize that indicates the control's current variant size.

VariantSize VariantSize { get; set; }

Property Value

VariantSize:

A VariantSize that indicates the control's current variant size.