A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.nativescript.org/api/class/LayoutBase below:

LayoutBase | API - NativeScript

Base class for all views that supports children positioning.

Summary Constructors Properties

Gets or sets a value indicating whether to clip the content of this layout.

isPassThroughParentEnabled
isPassThroughParentEnabled: boolean

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.

Gets or sets padding style property.

Specify the bottom padding of this layout.

Specify the left padding of this layout.

Specify the right padding of this layout.

Specify the top padding of this layout.

Methods
_registerLayoutChild(child: View): void

INTERNAL. Used by the layout system.

Returns void

_unregisterLayoutChild(child: View): void

INTERNAL. Used by the layout system.

Returns void

addChild(view: View): void

Adds the view to children array.

Returns void

eachLayoutChild(callback: (child: View, isLast: boolean) => void): void

Calls the callback for each child that should be laid out.

Returns void

getChildAt(index: number): View

Returns the view at the specified position.

getChildIndex(child: View): number

Returns the position of the child view

Returns number

getChildrenCount(): number

Returns the number of children in this Layout.

Returns number

insertChild(child: View, atIndex: number): void

Inserts the view to children array at the specified index.

Returns void

removeChild(view: View): void

Removes the specified view from the children array.

Returns void

Removes all views in this layout.

Returns void


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4