ClassRadTabView
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.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadTabView : TabViewContentBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewTabViewContentBaseRadTabView
Implements:
Inherited Members
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
BindableProperty
AnimationEasingProperty
Identifies the AnimationEasing property.
Declaration
public static readonly BindableProperty AnimationEasingProperty
Field Value
BindableProperty
ContentStyleProperty
Identifies the ContentStyle property.
Declaration
public static readonly BindableProperty ContentStyleProperty
Field Value
BindableProperty
ContentTemplateProperty
Identifies the ContentTemplate property.
Declaration
public static readonly BindableProperty ContentTemplateProperty
Field Value
BindableProperty
HeaderItemStyleProperty
Identifies the HeaderItemStyle property.
Declaration
public static readonly BindableProperty HeaderItemStyleProperty
Field Value
BindableProperty
HeaderItemStyleSelectorProperty
Identifies the HeaderItemStyleSelector property.
Declaration
public static readonly BindableProperty HeaderItemStyleSelectorProperty
Field Value
BindableProperty
HeaderItemTemplateProperty
Identifies the HeaderItemTemplate property.
Declaration
public static readonly BindableProperty HeaderItemTemplateProperty
Field Value
BindableProperty
HeaderPositionProperty
Identifies the HeaderPosition property.
Declaration
public static readonly BindableProperty HeaderPositionProperty
Field Value
BindableProperty
HeaderSpacingProperty
Identifies the HeaderSpacing property.
Declaration
public static readonly BindableProperty HeaderSpacingProperty
Field Value
BindableProperty
HeaderStyleProperty
Identifies the HeaderStyle property.
Declaration
public static readonly BindableProperty HeaderStyleProperty
Field Value
BindableProperty
HeaderTemplateProperty
Identifies the HeaderTemplate property.
Declaration
public static readonly BindableProperty HeaderTemplateProperty
Field Value
BindableProperty
IsContentSwipeEnabledProperty
Identifies the IsContentSwipeEnabled property.
Declaration
public static readonly BindableProperty IsContentSwipeEnabledProperty
Field Value
BindableProperty
IsHeaderOverlaidProperty
Identifies the IsHeaderOverlaid property.
Declaration
public static readonly BindableProperty IsHeaderOverlaidProperty
Field Value
BindableProperty
IsHeaderScrollableProperty
Identifies the IsHeaderScrollable property.
Declaration
public static readonly BindableProperty IsHeaderScrollableProperty
Field Value
BindableProperty
ItemTemplateProperty
Identifies the ItemTemplate property.
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
BindableProperty
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
BindableProperty
SelectedIndexProperty
Identifies the SelectedIndex property.
Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
BindableProperty
SelectedItemProperty
Identifies the SelectedItem property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
BindableProperty
Properties
AnimationDuration
Gets or sets the duration in milliseconds of the animation that is run when the selected index changes.
AnimationEasing
Gets or sets the Easing of the animation that is run when the selected index changes.
Declaration
public Easing AnimationEasing { get; set; }
Property Value
Easing
ContentStyle
Gets or sets the Style to be applied to the content area. The target type is TabViewContent.
Declaration
public Style ContentStyle { get; set; }
Property Value
Style
ContentTemplate
Gets or sets the ControlTemplate to be applied to the content area. The target type is TabViewContent.
Declaration
public ControlTemplate ContentTemplate { get; set; }
Property Value
ControlTemplate
HeaderItemStyle
Gets or sets the 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
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
HeaderItemTemplate
Gets or sets the ControlTemplate to be applied to the header items. The target type is TabViewHeaderItem.
Declaration
public ControlTemplate HeaderItemTemplate { get; set; }
Property Value
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
HeaderSpacing
Gets or sets the spacing in pixels between the header area and the content area.
HeaderStyle
Gets or sets the Style to be applied to the header area. The target type is TabViewHeader.
Declaration
public Style HeaderStyle { get; set; }
Property Value
Style
HeaderTemplate
Gets or sets the ControlTemplate to be applied to the header area. The target type is TabViewHeader.
Declaration
public ControlTemplate HeaderTemplate { get; set; }
Property Value
ControlTemplate
IsContentSwipeEnabled
Gets or sets a value indicating whether the tabs can be changed by swiping the content area.
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.
IsHeaderScrollable
Gets or sets a value indicating whether the header area can be scrolled with pan gestures.
ItemTemplate
Gets or sets the template that generates TabViewItem objects.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
DataTemplate
Items
Gets the collection of TabViewItems, describing the individual tabs of the control.
Declaration
public IList<TabViewItem> Items { get; }
Property Value
ItemsSource
Gets or sets the items source from which tabview items are generated.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
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.
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
Methods
OnBindingContextChanged()
Called when the binding context changes.
Declaration
protected override void OnBindingContextChanged()
Overrides
Events
SelectionChanged
Raised when the currently selected TabViewItem has changed.