Class
TabViewHeader

Represents the header area of the RadTabView control.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class TabViewHeader : TabViewContentBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewTabViewContentBaseTabViewHeader

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members TabViewContentBase.BackgroundColorPropertyTabViewContentBase.BorderColorPropertyTabViewContentBase.BorderThicknessPropertyTabViewContentBase.CornerRadiusPropertyTabViewContentBase.ContentPaddingPropertyTabViewContentBase.BackgroundColorTabViewContentBase.BorderColorTabViewContentBase.BorderThicknessTabViewContentBase.CornerRadiusTabViewContentBase.ContentPaddingRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

TabViewHeader()

Initializes a new instance of the TabViewHeader class.

Declaration

cs-api-definition
public TabViewHeader()

Fields

IsScrollableProperty

Identifies the IsScrollable property.

Declaration

cs-api-definition
public static readonly BindableProperty IsScrollableProperty

Field Value

BindableProperty

OrientationProperty

Identifies the Orientation property.

Declaration

cs-api-definition
public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

PositionProperty

Identifies the Position property.

Declaration

cs-api-definition
public static readonly BindableProperty PositionProperty

Field Value

BindableProperty

SelectedIndexProperty

Identifies the SelectedIndex property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedIndexProperty

Field Value

BindableProperty

SpacingProperty

Identifies the Spacing property.

Declaration

cs-api-definition
public static readonly BindableProperty SpacingProperty

Field Value

BindableProperty

Properties

IsScrollable

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

Declaration

cs-api-definition
public bool IsScrollable { get; set; }

Property Value

bool

Items

Gets the collection of items displayed in the header area.

Declaration

cs-api-definition
public IList<IView> Items { get; }

Property Value

IList<IView>

Orientation

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

Declaration

cs-api-definition
public TabViewScrollOrientation Orientation { get; set; }

Property Value

TabViewScrollOrientation

Position

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.

Declaration

cs-api-definition
public TabViewHeaderPosition Position { get; }

Property Value

TabViewHeaderPosition

SelectedIndex

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

Declaration

cs-api-definition
public int SelectedIndex { get; set; }

Property Value

int

Spacing

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

Declaration

cs-api-definition
public double Spacing { get; set; }

Property Value

double

Events

SelectionChanged

Raised when the currently selected item has changed.

Declaration

cs-api-definition
public event EventHandler SelectionChanged

Event Value

EventHandler