Struct MeasureSpecification
Definition
- Assembly:
- Tizen.NUI.dll
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.
[SuppressMessage("Performance", "CA1815: Override equals and operator equals on value types", Justification = "This is a struct and does not need to override equals.")]
public struct MeasureSpecification
Constructors
View SourceMeasureSpecification(LayoutLength, ModeType)
Constructor taking size and mode type.
Declaration
public MeasureSpecification(LayoutLength size, MeasureSpecification.ModeType mode)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutLength | size | size value. |
| MeasureSpecification.ModeType | mode | mode value. |
Fields
View SourceMode
MeasureSpecification Mode.
Declaration
[Obsolete("Deprecated in API9, will be removed in API11. Use GetMode,SetMode instead.")]
[SuppressMessage("Microsoft.Design", "CA1051:Do not declare visible instance fields")]
public MeasureSpecification.ModeType Mode
Field Value
| Type | Description |
|---|---|
| MeasureSpecification.ModeType |
Size
MeasureSpecification Size value.
Declaration
[Obsolete("Deprecated in API9, will be removed in API11. Use GetSize,SetSize instead.")]
[SuppressMessage("Microsoft.Design", "CA1051:Do not declare visible instance fields")]
public LayoutLength Size
Field Value
| Type | Description |
|---|---|
| LayoutLength |