Classes
SegmentedBar
SegmentedBar
Represents a UI SegmentedBar component.
Summary 
Constructors
Properties
154 properties inherited from View
Click to expand
Constructors 
constructor 
new SegmentedBar(): SegmentedBar
 Returns SegmentedBar
Properties 
items 
items: SegmentedBarItem[]
Gets or sets the items of the SegmentedBar.
selectedBackgroundColor 
selectedBackgroundColor: Color
Gets or sets the selected background color of the SegmentedBar component.
selectedIndex 
Gets or sets the selected index of the SegmentedBar component.
selectedIndexChangedEvent 
Static
String value used when hooking to the selectedIndexChanged event.
Methods 
_addArrayFromBuilder 
| Parameter | Default | Description | 
name |  | string | 
value |  | any[] | 
 Returns void
_addChildFromBuilder 
Called for every child element declared in xml.
| Parameter | Default | Description | 
name |  | stringName of the element.  | 
value |  | anyValue of the element.  | 
 Returns void
on 
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): void
A basic method signature to hook an event listener (shortcut alias to the addEventListener method).
| Parameter | Default | Description | 
eventNames |  | stringString corresponding to events (e.g. "propertyChange"). Optionally could be used more events separated by  `,` (e.g. "propertyChange", "change"). | 
callback |  | (data: EventData) => voidCallback function which will be executed when event is raised.  | 
thisArg |  | anyAn optional parameter which will be used as  `this` context for callback execution. | 
 Returns void
- Previous
 - SearchBar
 - Next
 - SegmentedBarItem