Class TabBar
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 9
TabBar is a class which contains a set of TabButtons and has one of them selected.
C#Copypublic class TabBar : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
System.ObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlTabBar
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic TabBar()
API Level: 9
Properties
Declaration
C#Copypublic int TabButtonCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 9
Methods
View Source
GetTabButton(Int32)
Gets the tab button at the specified index of TabBar. The indices of tab buttons in TabBar are basically the order of adding to TabBar by AddTab(TabButton, View). So a tab button's index in TabBar can be changed whenever AddTab(TabButton, View) or RemoveTab(Int32) is called.
Declaration
C#Copypublic TabButton GetTabButton(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index of tab button in TabBar where the specified tab button exists. |
Returns
Type | Description |
---|---|
TabButton |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Thrown when the index is less than 0, or greater than or equal to the number of tab buttons. |
API Level: 9
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable