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