Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
[Draft] A MeasureSpecification is used during the Measure pass by a LayoutGroup to inform it's children how to be measured.
For instance, it may measure a child with an exact width and an unspecified height in order to determine height for width.
public struct MeasureSpecification
Constructors
View Source
MeasureSpecification(LayoutLength, MeasureSpecification.ModeType)
Constructor taking size and mode type.
Declaration
public MeasureSpecification(LayoutLength size, MeasureSpecification.ModeType mode)
Parameters
API Level: 6
Fields
Declaration
public MeasureSpecification.ModeType Mode
Field Value
API Level: 6
Declaration
Field Value
API Level: 6
Methods
Declaration
public MeasureSpecification.ModeType GetMode()
Returns
View Source
GetSize()
Get MeasureSpecification Size value.
Declaration
public LayoutLength GetSize()
Returns
View Source
SetMode(MeasureSpecification.ModeType)
Set MeasureSpecification Mode.
Declaration
public void SetMode(MeasureSpecification.ModeType mode)
Parameters
View Source
SetSize(LayoutLength)
Set MeasureSpecification Size value.
Declaration
public void SetSize(LayoutLength size)
Parameters
Extension Methods