Struct MeasuredSize

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

[Draft] Class that encodes a measurement and a measure state, which is set if the measured size is too small.

C#
Copy
public struct MeasuredSize

Constructors

View Source

MeasuredSize(LayoutLength, MeasuredSize.StateType)

Constructor

Declaration
C#
Copy
public MeasuredSize(LayoutLength measuredSize, MeasuredSize.StateType state)
Parameters
Type Name Description
LayoutLength measuredSize

size parameter

MeasuredSize.StateType state

State

API Level: 6

Properties

View Source

Size

LayoutLength size property

Declaration
C#
Copy
public LayoutLength Size { get; set; }
Property Value
Type Description
LayoutLength
API Level: 6
View Source

State

Measured state for this size.

Declaration
C#
Copy
public MeasuredSize.StateType State { get; set; }
Property Value
Type Description
MeasuredSize.StateType
API Level: 6

Operators

View Source

Implicit(LayoutLength to MeasuredSize)

Creates a MeasuredSize from a LayoutLength

Declaration
C#
Copy
public static implicit operator MeasuredSize(LayoutLength measuredSize)
Parameters
Type Name Description
LayoutLength measuredSize

LayoutLength to create

Returns
Type Description
MeasuredSize

Returns a MeasuredSize object

API Level: 6