Class
TabViewContent

Represents the content area of the RadTabView control.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class TabViewContent : TabViewContentBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewTabViewContentBaseTabViewContent

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members TabViewContentBase.BackgroundColorPropertyTabViewContentBase.BorderColorPropertyTabViewContentBase.BorderThicknessPropertyTabViewContentBase.CornerRadiusPropertyTabViewContentBase.ContentPaddingPropertyTabViewContentBase.BackgroundColorTabViewContentBase.BorderColorTabViewContentBase.BorderThicknessTabViewContentBase.CornerRadiusTabViewContentBase.ContentPaddingRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

TabViewContent()

Initializes a new instance of the TabViewContent class.

Declaration

cs-api-definition
public TabViewContent()

Fields

IsSwipeEnabledProperty

Identifies the IsSwipeEnabled property.

Declaration

cs-api-definition
public static readonly BindableProperty IsSwipeEnabledProperty

Field Value

BindableProperty

OrientationProperty

Identifies the Orientation property.

Declaration

cs-api-definition
public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

SelectedIndexProperty

Identifies the SelectedIndex property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedIndexProperty

Field Value

BindableProperty

SpacingProperty

Identifies the Spacing property.

Declaration

cs-api-definition
public static readonly BindableProperty SpacingProperty

Field Value

BindableProperty

Properties

IsSwipeEnabled

Gets or sets a value indicating whether the selected item can be changed with a swipe gesture.

Declaration

cs-api-definition
public bool IsSwipeEnabled { get; set; }

Property Value

bool

Items

Gets the collection of items to be displayed in the content area.

Declaration

cs-api-definition
public IList<IView> Items { get; }

Property Value

IList<IView>

Orientation

Gets or sets the scroll orientation of the content area. For more information see the TabViewScrollOrientation enumerated type.

Declaration

cs-api-definition
public TabViewScrollOrientation Orientation { get; set; }

Property Value

TabViewScrollOrientation

SelectedIndex

Gets or sets the index of the currently selected item in the content area.

Declaration

cs-api-definition
public int SelectedIndex { get; set; }

Property Value

int

Spacing

Gets or sets the spacing in pixels between the items in the content area.

Declaration

cs-api-definition
public double Spacing { get; set; }

Property Value

double

Events

SelectionChanged

Raised when the currently selected item has changed.

Declaration

cs-api-definition
public event EventHandler SelectionChanged

Event Value

EventHandler