Struct MeasuredSize

Definition

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

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, StateType)

Constructor

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

size parameter

MeasuredSize.StateType state

State

Properties

View Source

Size

LayoutLength size property

Declaration
C#
Copy
public LayoutLength Size { readonly get; set; }
Property Value
Type Description
LayoutLength
View Source

State

Measured state for this size.

Declaration
C#
Copy
public MeasuredSize.StateType State { readonly get; set; }
Property Value
Type Description
MeasuredSize.StateType

Operators

View Source

implicit operator MeasuredSize(LayoutLength)

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