New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents the header area of the RadTabView control.

Definition

Constructors

Initializes a new instance of the TabViewHeader class.

C#
public TabViewHeader()

Fields

IsScrollableProperty

BindableProperty

Identifies the IsScrollable property.

C#
public static readonly BindableProperty IsScrollableProperty

OrientationProperty

BindableProperty

Identifies the Orientation property.

C#
public static readonly BindableProperty OrientationProperty

PositionProperty

BindableProperty

Identifies the Position property.

C#
public static readonly BindableProperty PositionProperty

SelectedIndexProperty

BindableProperty

Identifies the SelectedIndex property.

C#
public static readonly BindableProperty SelectedIndexProperty

SpacingProperty

BindableProperty

Identifies the Spacing property.

C#
public static readonly BindableProperty SpacingProperty

Properties

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

C#
public bool IsScrollable { get; set; }

Items

IList<IView>

Gets the collection of items displayed in the header area.

C#
public IList<IView> Items { get; }

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

C#
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.

C#
public TabViewHeaderPosition Position { get; }

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

C#
public int SelectedIndex { get; set; }

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

C#
public double Spacing { get; set; }

Methods

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Events

Raised when the currently selected item has changed.

C#
public event EventHandler SelectionChanged