Class TabContent

    Definition

    Namespace:
    Tizen.NUI.Components
    Assembly:
    Tizen.NUI.Components.dll

    TabContent is a class which contains a set of Views and has one of them selected.

    public class TabContent : Control, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Tizen.NUI.Components.Control
    TabContent
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    TabContent()

    Creates a new instance of TabContent.

    Declaration
    public TabContent()

    Properties

    View Source

    ViewCount

    Gets the count of views.

    Declaration
    public int ViewCount { get; }
    Property Value
    Type Description
    int

    Methods

    View Source

    GetView(int)

    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(int) is called.

    Declaration
    public View GetView(int index)
    Parameters
    Type Name Description
    int 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.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX