Skip to main content

Enum YauiMeasureMode

How a dimension passed to Yaui.YauiElement.MeasureContent(System.Single%2cYaui.YauiMeasureMode%2cSystem.Single%2cYaui.YauiMeasureMode) constrains the size.

Assembly: Yaui.dll​
View Source​
Declaration
public enum YauiMeasureMode

Fields​

Undefined​

No constraint: the natural size. The value is NaN.

View Source​
Declaration
Undefined = 0

Exactly​

The size is the value.

View Source​
Declaration
Exactly = 1

AtMost​

The size is at most the value.

View Source​
Declaration
AtMost = 2