Enum ResizePolicyType

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

Enumeration for size negotiation resize policies.

C#
Copy
public enum ResizePolicyType : int
Name Description
DimensionDependency

One dimension is dependent on the other.

FillToParent

Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.

FitToChildren

The size will adjust to wrap around all children.

Fixed

Size is fixed as set by SetSize.

KeepSizeFollowingParent

The size always equal with parent even parent has size animation. Note : This Property only working without layout. If layout is setup, Undefined Behavior

SizeFixedOffsetFromParent

The actors size will be ( ParentSize + SizeRelativeToParentFactor ).

SizeRelativeToParent

The actors size will be ( ParentSize * SizeRelativeToParentFactor ).

UseAssignedSize

The size will be assigned to the actor.

UseNaturalSize

Size is to use the actor's natural size.

Extension Methods