skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadTabView

The RadTabView is a flexible navigation control that allows you to build tabbed interfaces. The individual tabs of the control are described as a collection of TabViewItems. Each TabViewItem has its own header and an associated content displayed on selection.

Inheritance
System.Object
RadContentView
TabViewContentBase
RadTabView
Inherited Members
TabViewContentBase.BackgroundColorProperty
TabViewContentBase.BorderColorProperty
TabViewContentBase.BorderThicknessProperty
TabViewContentBase.CornerRadiusProperty
TabViewContentBase.ContentPaddingProperty
TabViewContentBase.BackgroundColor
TabViewContentBase.BorderColor
TabViewContentBase.BorderThickness
TabViewContentBase.CornerRadius
TabViewContentBase.ContentPadding
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnHandlerChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

public class RadTabView : TabViewContentBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Constructors

RadTabView()

Initializes a new instance of the RadTabView class.

Declaration
public RadTabView()

Fields

AnimationDurationProperty

Identifies the AnimationDuration property.

Declaration
public static readonly BindableProperty AnimationDurationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

AnimationEasingProperty

Identifies the AnimationEasing property.

Declaration
public static readonly BindableProperty AnimationEasingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ContentStyleProperty

Identifies the ContentStyle property.

Declaration
public static readonly BindableProperty ContentStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ContentTemplateProperty

Identifies the ContentTemplate property.

Declaration
public static readonly BindableProperty ContentTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderItemStyleProperty

Identifies the HeaderItemStyle property.

Declaration
public static readonly BindableProperty HeaderItemStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderItemStyleSelectorProperty

Identifies the HeaderItemStyleSelector property.

Declaration
public static readonly BindableProperty HeaderItemStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderItemTemplateProperty

Identifies the HeaderItemTemplate property.

Declaration
public static readonly BindableProperty HeaderItemTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderPositionProperty

Identifies the HeaderPosition property.

Declaration
public static readonly BindableProperty HeaderPositionProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderSpacingProperty

Identifies the HeaderSpacing property.

Declaration
public static readonly BindableProperty HeaderSpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderStyleProperty

Identifies the HeaderStyle property.

Declaration
public static readonly BindableProperty HeaderStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderTemplateProperty

Identifies the HeaderTemplate property.

Declaration
public static readonly BindableProperty HeaderTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsContentSwipeEnabledProperty

Identifies the IsContentSwipeEnabled property.

Declaration
public static readonly BindableProperty IsContentSwipeEnabledProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsHeaderOverlaidProperty

Identifies the IsHeaderOverlaid property.

Declaration
public static readonly BindableProperty IsHeaderOverlaidProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsHeaderScrollableProperty

Identifies the IsHeaderScrollable property.

Declaration
public static readonly BindableProperty IsHeaderScrollableProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ItemsSourceProperty

Identifies the ItemsSource property.

Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ItemTemplateProperty

Identifies the ItemTemplate property.

Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SelectedIndexProperty

Identifies the SelectedIndex property.

Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SelectedItemProperty

Identifies the SelectedItem property.

Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

AnimationDuration

Gets or sets the duration in milliseconds of the animation that is run when the selected index changes.

Declaration
public int AnimationDuration { get; set; }
Property Value
System.Int32

AnimationEasing

Gets or sets the Microsoft.Maui.Easing of the animation that is run when the selected index changes.

Declaration
public Easing AnimationEasing { get; set; }
Property Value
Microsoft.Maui.Easing

ContentStyle

Gets or sets the Microsoft.Maui.Controls.Style to be applied to the content area. The target type is TabViewContent.

Declaration
public Style ContentStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

ContentTemplate

Gets or sets the Microsoft.Maui.Controls.ControlTemplate to be applied to the content area. The target type is TabViewContent.

Declaration
public ControlTemplate ContentTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

HeaderItemStyle

Gets or sets the Microsoft.Maui.Controls.Style to be applied to the header items, unless the HeaderItemStyleSelector provides a style for an item. The target type is TabViewHeaderItem.

Declaration
public Style HeaderItemStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

HeaderItemStyleSelector

Gets or sets the style selector that chooses the styles for the header items. This property has a higher precedence than the HeaderItemStyle property. The target type of the style should be TabViewHeaderItem.

Declaration
public IStyleSelector HeaderItemStyleSelector { get; set; }
Property Value
IStyleSelector

HeaderItemTemplate

Gets or sets the Microsoft.Maui.Controls.ControlTemplate to be applied to the header items. The target type is TabViewHeaderItem.

Declaration
public ControlTemplate HeaderItemTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

HeaderPosition

Gets or sets the relative position of the header area in respect to the content area. For more information see the TabViewHeaderPosition enumerated type.

Declaration
public TabViewHeaderPosition HeaderPosition { get; set; }
Property Value
TabViewHeaderPosition

HeaderSpacing

Gets or sets the spacing in pixels between the header area and the content area.

Declaration
public double HeaderSpacing { get; set; }
Property Value
System.Double

HeaderStyle

Gets or sets the Microsoft.Maui.Controls.Style to be applied to the header area. The target type is TabViewHeader.

Declaration
public Style HeaderStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

HeaderTemplate

Gets or sets the Microsoft.Maui.Controls.ControlTemplate to be applied to the header area. The target type is TabViewHeader.

Declaration
public ControlTemplate HeaderTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

IsContentSwipeEnabled

Gets or sets a value indicating whether the tabs can be changed by swiping the content area.

Declaration
public bool IsContentSwipeEnabled { get; set; }
Property Value
System.Boolean

IsHeaderOverlaid

Get or sets a value indicating whether the header area is overlaid on top of the content area. When the overlay mode is enabled, the header area is centered and partially overlaps with one of the borders of the content area, based on the value of the HeaderPosition property. The padding of the content area is adjusted accordingly, to avoid overlapping with the header area. When the overlay mode is disabled, the header area is placed adjacent to the content area without any overlapping, based on the value of the HeaderPosition property.

Declaration
public bool IsHeaderOverlaid { get; set; }
Property Value
System.Boolean

IsHeaderScrollable

Gets or sets a value indicating whether the header area can be scrolled with pan gestures.

Declaration
public bool IsHeaderScrollable { get; set; }
Property Value
System.Boolean

Items

Gets the collection of TabViewItems, describing the individual tabs of the control.

Declaration
public IList<TabViewItem> Items { get; }
Property Value
System.Collections.Generic.IList<TabViewItem>

ItemsSource

Gets or sets the items source from which tabview items are generated.

Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable

ItemTemplate

Gets or sets the template that generates TabViewItem objects.

Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate

SelectedIndex

Gets or sets the index of the currently selected TabViewItem. The value of this property affects which header item is selected in the header area and which content is displayed in the content area.

Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32

SelectedItem

Gets or sets the currently selected TabViewItem. The value of this property affects which header item is selected in the header area and which content is displayed in the content area.

Declaration
public TabViewItem SelectedItem { get; set; }
Property Value
TabViewItem

Methods

OnBindingContextChanged()

Called when the binding context changes.

Declaration
protected override void OnBindingContextChanged()
Overrides
RadContentView.OnBindingContextChanged()

Events

SelectionChanged

Raised when the currently selected TabViewItem has changed.

Declaration
public event EventHandler SelectionChanged
Event Type
System.EventHandler

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.