Struct MeasureSpecification

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.

C#
Copy
public struct MeasureSpecification

Constructors

View Source

MeasureSpecification(LayoutLength, MeasureSpecification.ModeType)

Constructor taking size and mode type.

Declaration
C#
Copy
public MeasureSpecification(LayoutLength size, MeasureSpecification.ModeType mode)
Parameters
Type Name Description
LayoutLength size

size value.

MeasureSpecification.ModeType mode

mode value.

API Level: 6

Fields

View Source

Mode

MeasureSpecification Mode.

Declaration
C#
Copy
public MeasureSpecification.ModeType Mode
Field Value
Type Description
MeasureSpecification.ModeType
API Level: 6
View Source

Size

MeasureSpecification Size value.

Declaration
C#
Copy
public LayoutLength Size
Field Value
Type Description
LayoutLength
API Level: 6

Methods

View Source

GetMode()

Get MeasureSpecification Mode.

Declaration
C#
Copy
public MeasureSpecification.ModeType GetMode()
Returns
Type Description
MeasureSpecification.ModeType
View Source

GetSize()

Get MeasureSpecification Size value.

Declaration
C#
Copy
public LayoutLength GetSize()
Returns
Type Description
LayoutLength
View Source

SetMode(MeasureSpecification.ModeType)

Set MeasureSpecification Mode.

Declaration
C#
Copy
public void SetMode(MeasureSpecification.ModeType mode)
Parameters
Type Name Description
MeasureSpecification.ModeType mode
View Source

SetSize(LayoutLength)

Set MeasureSpecification Size value.

Declaration
C#
Copy
public void SetSize(LayoutLength size)
Parameters
Type Name Description
LayoutLength size

Extension Methods