Classes
LayoutBase
Base class for all views that supports children positioning.
Summary 
Constructors
Properties
154 properties inherited from CustomLayoutView
Click to expand
Methods
- _registerLayoutChild
 - _unregisterLayoutChild
 - addChild
 - eachLayoutChild
 - getChildAt
 - getChildIndex
 - getChildrenCount
 - insertChild
 - removeChild
 - removeChildren
 
112 methods inherited from CustomLayoutView
Click to expand
Constructors 
constructor 
new LayoutBase(): LayoutBase
 Returns LayoutBase
Properties 
clipToBounds 
Gets or sets a value indicating whether to clip the content of this layout.
isPassThroughParentEnabled 
Gets or sets a value indicating whether touch event should pass through to a parent view of the
layout container in case an interactive child view did not handle it.
Default value of this property is false. This does not affect the appearance of the view.
padding 
padding: string | number | LengthDipUnit | LengthPxUnit
Gets or sets padding style property.
paddingBottom 
paddingBottom: LengthType
Specify the bottom padding of this layout.
paddingLeft 
paddingLeft: LengthType
Specify the left padding of this layout.
paddingRight 
paddingRight: LengthType
Specify the right padding of this layout.
paddingTop 
paddingTop: LengthType
Specify the top padding of this layout.
Methods 
_registerLayoutChild 
_registerLayoutChild(child: View): void
INTERNAL. Used by the layout system.
| Parameter | Default | Description | 
child |  | 
 Returns void
_unregisterLayoutChild 
_unregisterLayoutChild(child: View): void
INTERNAL. Used by the layout system.
| Parameter | Default | Description | 
child |  | 
 Returns void
addChild 
addChild(view: View): void
Adds the view to children array.
| Parameter | Default | Description | 
view |  | The view to be added to the end of the children array.  | 
 Returns void
eachLayoutChild 
getChildAt 
getChildIndex 
getChildIndex(child: View): number
Returns the position of the child view
| Parameter | Default | Description | 
child |  | The child view that we are looking for.  | 
 Returns number
getChildrenCount 
Returns the number of children in this Layout.
 Returns number
insertChild 
insertChild(child: View, atIndex: number): void
Inserts the view to children array at the specified index.
| Parameter | Default | Description | 
child |  | |
atIndex |  | numberThe insertion index.  | 
 Returns void
removeChild 
removeChild(view: View): void
Removes the specified view from the children array.
| Parameter | Default | Description | 
view |  | The view to remove from the children array.  | 
 Returns void
removeChildren 
Removes all views in this layout.
 Returns void
- Previous
 - Label
 - Next
 - ListPicker