Class Tab
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 6
Tab is one kind of common component, it can be used as menu label. User can handle Tab by adding/inserting/deleting TabItem.
[Obsolete("Deprecated in API8; Will be removed in API10")]
public class Tab : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
Tizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlTab
- Implements
Constructors
View SourceTab()
Creates a new instance of a Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Tab()
API Level: 6
Properties
View SourceFontFamily
Text font family in Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
String |
API Level: 6
View SourceItemSpace
Gap between items.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public int ItemSpace { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 6
View SourcePointSize
Text point size in Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public float PointSize { get; set; }
Property Value
Type | Description |
---|---|
Single |
API Level: 6
View SourceSelectedItemIndex
Selected item's index in Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public int SelectedItemIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 6
View SourceSpace
Space in Tab. Sequence as Left, Right, Top, Bottom
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Extents Space { get; set; }
Property Value
Type | Description |
---|---|
Extents |
API Level: 6
View SourceStyle
Return a copied Style instance of Tab
Declaration
public TabStyle Style { get; }
Property Value
Type | Description |
---|---|
Tizen.NUI.Components.TabStyle |
Remarks
It returns copied Style instance and changing it does not effect to the Tab. Style setting is possible by using constructor or the function of ApplyStyle(ViewStyle viewStyle)
API Level: 8
View SourceTextColor
Text color in Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: 6
View SourceTextColorSelector
Text color selector in Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public ColorSelector TextColorSelector { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.Components.ColorSelector |
API Level: 6
View SourceUnderLineBackgroundColor
UnderLine view's background in Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Color UnderLineBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: 6
View SourceUnderLineSize
UnderLine view's size in Tab.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Size UnderLineSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
API Level: 6
View SourceUseTextNaturalSize
Flag to decide if TabItem is adjusted by text's natural width. If true, TabItem's width will be equal as text's natural width, if false, it will be decided by Tab's width and tab item count.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public bool UseTextNaturalSize { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 6
Methods
View SourceAddItem(Tab.TabItemData)
Add tab item by item data. The added item will be added to end of all items automatically.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public void AddItem(Tab.TabItemData itemData)
Parameters
Type | Name | Description |
---|---|---|
Tab.TabItemData | itemData | Item data which will apply to tab item view. |
API Level: 6
View SourceDeleteItem(Int32)
Delete tab item by index.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public void DeleteItem(int itemIndex)
Parameters
Type | Name | Description |
---|---|---|
Int32 | itemIndex | Position index where will be deleted. |
API Level: 6
View SourceDispose(DisposeTypes)
Dispose Tab and all children on it.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
API Level: 6
View SourceInsertItem(Tab.TabItemData, Int32)
Insert tab item by item data. The inserted item will be added to the special position by index automatically.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public void InsertItem(Tab.TabItemData itemData, int index)
Parameters
Type | Name | Description |
---|---|---|
Tab.TabItemData | itemData | Item data which will apply to tab item view. |
Int32 | index | Position index where will be inserted. |
API Level: 6
Events
View SourceItemChangedEvent
An event for the item changed signal which can be used to subscribe or unsubscribe the event handler provided by the user.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public event EventHandler<Tab.ItemChangedEventArgs> ItemChangedEvent
Event Type
Type | Description |
---|---|
EventHandler<Tab.ItemChangedEventArgs> |