TabViewHeader
Represents the header area of the RadTabView control.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class TabViewHeader : TabViewContentBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewTabViewContentBaseTabViewHeader
Implements:
Inherited Members
Constructors
Initializes a new instance of the TabViewHeader class.
public TabViewHeader()
Fields
IsScrollableProperty
BindableProperty
Identifies the IsScrollable property.
public static readonly BindableProperty IsScrollableProperty
OrientationProperty
BindableProperty
Identifies the Orientation property.
public static readonly BindableProperty OrientationProperty
PositionProperty
BindableProperty
Identifies the Position property.
public static readonly BindableProperty PositionProperty
SelectedIndexProperty
BindableProperty
Identifies the SelectedIndex property.
public static readonly BindableProperty SelectedIndexProperty
SpacingProperty
BindableProperty
Identifies the Spacing property.
public static readonly BindableProperty SpacingProperty
Properties
Gets or sets a value indicating whether the header area can be scrolled with pan gestures.
public bool IsScrollable { get; set; }
Gets the collection of items displayed in the header area.
public IList<IView> Items { get; }
Gets or sets the scroll orientation of the header area. For more information see the TabViewScrollOrientation enumerated type.
public TabViewScrollOrientation Orientation { get; set; }
Gets the relative position of the header area in respect to the content area. This property is used to apply some styling adjustments of the header area according to its relative position to the content area. For more information see the TabViewHeaderPosition enumerated type.
public TabViewHeaderPosition Position { get; }
Gets or sets the index of the currently selected item in the header area.
public int SelectedIndex { get; set; }
Methods
protected override void OnPropertyChanged(string propertyName = null)
Events
Raised when the currently selected item has changed.
public event EventHandler SelectionChanged