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.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadTabView : TabViewContentBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding
Constructors
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()
Declaration
protected override void OnBindingContextChanged()
Overrides
Events
SelectionChanged
Raised when the currently selected TabViewItem has changed.
Declaration
public event EventHandler SelectionChanged
Event Type
System.EventHandler
|