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

Represents the content area of the RadTabView control.

Definition

Constructors

Initializes a new instance of the TabViewContent class.

C#
public TabViewContent()

Fields

IsSwipeEnabledProperty

BindableProperty

Identifies the IsSwipeEnabled property.

C#
public static readonly BindableProperty IsSwipeEnabledProperty

OrientationProperty

BindableProperty

Identifies the Orientation property.

C#
public static readonly BindableProperty OrientationProperty

SelectedIndexProperty

BindableProperty

Identifies the SelectedIndex property.

C#
public static readonly BindableProperty SelectedIndexProperty

SpacingProperty

BindableProperty

Identifies the Spacing property.

C#
public static readonly BindableProperty SpacingProperty

Properties

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

C#
public bool IsSwipeEnabled { get; set; }

Items

IList<IView>

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

C#
public IList<IView> Items { get; }

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

C#
public TabViewScrollOrientation Orientation { get; set; }

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

C#
public int SelectedIndex { get; set; }

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

C#
public double Spacing { get; set; }

Methods

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Events

Raised when the currently selected item has changed.

C#
public event EventHandler SelectionChanged