New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents an individual tab in the RadTabView control. Each tab has a header and an associated content displayed on selection.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class TabViewItem : BindableObject

Inheritance: objectTabViewItem

Constructors

C#
public TabViewItem()

Fields

AutomationIdProperty

BindableProperty

Identifies the AutomationId property.

C#
public static readonly BindableProperty AutomationIdProperty

ContentProperty

BindableProperty

Identifies the Content property.

C#
public static readonly BindableProperty ContentProperty

ContentTemplateProperty

BindableProperty

Identifies the ContentTemplate property.

C#
public static readonly BindableProperty ContentTemplateProperty

HeaderTextProperty

BindableProperty

Identifies the HeaderText property.

C#
public static readonly BindableProperty HeaderTextProperty

ImageSourceProperty

BindableProperty

Identifies the ImageSource property.

C#
public static readonly BindableProperty ImageSourceProperty

IsEnabledProperty

BindableProperty

Identifies the IsEnabled property.

C#
public static readonly BindableProperty IsEnabledProperty

IsSelectedProperty

BindableProperty

Identifies the IsSelected property.

C#
public static readonly BindableProperty IsSelectedProperty

IsVisibleProperty

BindableProperty

Identifies the IsVisible property.

C#
public static readonly BindableProperty IsVisibleProperty

Properties

Gets or sets the automation ID associated with the current tab.

C#
public string AutomationId { get; set; }

Gets or sets the content to be displayed when the current tab is selected.

C#
public View Content { get; set; }

ContentTemplate

DataTemplate

Gets or sets the content template to be displayed (when the Content is not set) when the current tab is selected.

C#
public DataTemplate ContentTemplate { get; set; }

Gets or sets the text to be displayed in the header item of the tab. For more information see the TabViewHeaderItem control.

C#
public string HeaderText { get; set; }

ImageSource

ImageSource

Gets or sets the ImageSource of the to be displayed in the header item of the tab. For more information see the TabViewHeaderItem control.

C#
public ImageSource ImageSource { get; set; }

Gets or sets a value indicating whether the current tab is enabled.

C#
public bool IsEnabled { get; set; }

Gets or sets a value indicating whether the current tab is selected.

C#
public bool IsSelected { get; set; }

Gets or sets a value indicating whether the current tab is visible.

C#
public bool IsVisible { get; set; }