Class ItemLayout

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
C#
Copy
public class ItemLayout : RefObject
Inheritance

Methods

View Source

ApplyConstraints(View, Int32, Vector3, View)

Declaration
C#
Copy
public virtual void ApplyConstraints(View view, int itemId, Vector3 layoutSize, View itemView)
Parameters
Type Name Description
View view
Int32 itemId
Vector3 layoutSize
View itemView
View Source

GetClosestAnchorPosition(Single)

Declaration
C#
Copy
public virtual float GetClosestAnchorPosition(float layoutPosition)
Parameters
Type Name Description
Single layoutPosition
Returns
Type Description
Single
View Source

GetClosestOnScreenLayoutPosition(Int32, Single, Vector3)

Declaration
C#
Copy
public virtual float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, Vector3 layoutSize)
Parameters
Type Name Description
Int32 itemID
Single currentLayoutPosition
Vector3 layoutSize
Returns
Type Description
Single
View Source

GetDefaultItemSize(UInt32, Vector3, Vector3)

Declaration
C#
Copy
public virtual void GetDefaultItemSize(uint itemId, Vector3 layoutSize, Vector3 itemSize)
Parameters
Type Name Description
UInt32 itemId
Vector3 layoutSize
Vector3 itemSize
View Source

GetFlickSpeedFactor()

Declaration
C#
Copy
public virtual float GetFlickSpeedFactor()
Returns
Type Description
Single
View Source

GetItemFlickAnimationDuration()

Declaration
C#
Copy
public virtual float GetItemFlickAnimationDuration()
Returns
Type Description
Single
View Source

GetItemPosition(Int32, Single, Vector3)

Declaration
C#
Copy
public virtual Vector3 GetItemPosition(int itemID, float currentLayoutPosition, Vector3 layoutSize)
Parameters
Type Name Description
Int32 itemID
Single currentLayoutPosition
Vector3 layoutSize
Returns
Type Description
Vector3
View Source

GetItemScrollToPosition(UInt32)

Declaration
C#
Copy
public virtual float GetItemScrollToPosition(uint itemId)
Parameters
Type Name Description
UInt32 itemId
Returns
Type Description
Single
View Source

GetItemSize(UInt32, Vector3, Vector3)

Declaration
C#
Copy
public void GetItemSize(uint itemId, Vector3 layoutSize, Vector3 itemSize)
Parameters
Type Name Description
UInt32 itemId
Vector3 layoutSize
Vector3 itemSize
View Source

GetItemsWithinArea(Single, Vector3)

Declaration
C#
Copy
public virtual ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize)
Parameters
Type Name Description
Single firstItemPosition
Vector3 layoutSize
Returns
Type Description
ItemRange
View Source

GetLayoutProperties()

Declaration
C#
Copy
public PropertyMap GetLayoutProperties()
Returns
Type Description
PropertyMap
View Source

GetMaximumSwipeSpeed()

Declaration
C#
Copy
public virtual float GetMaximumSwipeSpeed()
Returns
Type Description
Single
View Source

GetMinimumLayoutPosition(UInt32, Vector3)

Declaration
C#
Copy
public virtual float GetMinimumLayoutPosition(uint numberOfItems, Vector3 layoutSize)
Parameters
Type Name Description
UInt32 numberOfItems
Vector3 layoutSize
Returns
Type Description
Single
View Source

GetNextFocusItemID(Int32, Int32, View.FocusDirection, Boolean)

Declaration
C#
Copy
public virtual int GetNextFocusItemID(int itemID, int maxItems, View.FocusDirection direction, bool loopEnabled)
Parameters
Type Name Description
Int32 itemID
Int32 maxItems
View.FocusDirection direction
Boolean loopEnabled
Returns
Type Description
Int32
View Source

GetReserveItemCount(Vector3)

Declaration
C#
Copy
public virtual uint GetReserveItemCount(Vector3 layoutSize)
Parameters
Type Name Description
Vector3 layoutSize
Returns
Type Description
UInt32
View Source

GetScrollDirection()

Declaration
C#
Copy
public virtual Degree GetScrollDirection()
Returns
Type Description
Degree
View Source

GetScrollSpeedFactor()

Declaration
C#
Copy
public virtual float GetScrollSpeedFactor()
Returns
Type Description
Single
View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides
View Source

SetItemSize(Vector3)

Declaration
C#
Copy
public void SetItemSize(Vector3 itemSize)
Parameters
Type Name Description
Vector3 itemSize
View Source

SetLayoutProperties(PropertyMap)

Declaration
C#
Copy
public void SetLayoutProperties(PropertyMap properties)
Parameters
Type Name Description
PropertyMap properties

Extension Methods