Class
TabViewHeaderItem

Represents a header item in a tab view control that displays the tab's title and visual state.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

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

Inheritance: objectRadContentViewTabViewContentBaseTabViewHeaderItem

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

TabViewHeaderItem()

Initializes a new instance of the TabViewHeaderItem class.

Declaration

cs-api-definition
public TabViewHeaderItem()

Fields

FontAttributesProperty

Identifies the FontAttributes property.

Declaration

cs-api-definition
public static readonly BindableProperty FontAttributesProperty

Field Value

BindableProperty

FontFamilyProperty

Identifies the FontFamily property.

Declaration

cs-api-definition
public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

Identifies the FontSize property.

Declaration

cs-api-definition
public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

HorizontalTextAlignmentProperty

Identifies the HorizontalTextAlignment property.

Declaration

cs-api-definition
public static readonly BindableProperty HorizontalTextAlignmentProperty

Field Value

BindableProperty

ImageAspectProperty

Identifies the ImageAspect property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageAspectProperty

Field Value

BindableProperty

ImageHeightProperty

Identifies the ImageHeight property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageHeightProperty

Field Value

BindableProperty

ImagePositionProperty

Identifies the ImagePosition property.

Declaration

cs-api-definition
public static readonly BindableProperty ImagePositionProperty

Field Value

BindableProperty

ImageSourceProperty

Identifies the ImageSource property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageSourceProperty

Field Value

BindableProperty

ImageSpacingProperty

Identifies the ImageSpacing property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageSpacingProperty

Field Value

BindableProperty

ImageWidthProperty

Identifies the ImageWidth property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageWidthProperty

Field Value

BindableProperty

IsSelectedProperty

Identifies the IsSelected property.

Declaration

cs-api-definition
public static readonly BindableProperty IsSelectedProperty

Field Value

BindableProperty

PositionProperty

Identifies the Position property.

Declaration

cs-api-definition
public static readonly BindableProperty PositionProperty

Field Value

BindableProperty

TextColorProperty

Identifies the TextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TextDecorationsProperty

Identifies the TextDecorations property.

Declaration

cs-api-definition
public static readonly BindableProperty TextDecorationsProperty

Field Value

BindableProperty

TextProperty

Identifies the Text property.

Declaration

cs-api-definition
public static readonly BindableProperty TextProperty

Field Value

BindableProperty

VerticalTextAlignmentProperty

Identifies the VerticalTextAlignment property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalTextAlignmentProperty

Field Value

BindableProperty

Properties

FontAttributes

Gets or sets the font attributes of the text in the header item. For more information see the FontAttributes enumerated type.

Declaration

cs-api-definition
public FontAttributes FontAttributes { get; set; }

Property Value

FontAttributes

FontFamily

Gets or sets the font family of the text in the header item.

Declaration

cs-api-definition
public string FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the font size of the text in the header item.

Declaration

cs-api-definition
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

Property Value

double

HorizontalTextAlignment

Gets or sets the horizontal alignment of the text in the header item. For more information see the TextAlignment enumerated type.

Declaration

cs-api-definition
public TextAlignment HorizontalTextAlignment { get; set; }

Property Value

TextAlignment

ImageAspect

Gets or sets the aspect of the image in the header item. For more information see the Aspect enumerated type.

Declaration

cs-api-definition
public Aspect ImageAspect { get; set; }

Property Value

Aspect

ImageHeight

Gets or sets the desired height of the image in the header item. When set explicitly, this property can be used to resize the image.

Declaration

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

Property Value

double

ImagePosition

Gets or sets the relative position of the image in respect to the text in the header item. For more information see the TabViewHeaderPosition enumerated type.

Declaration

cs-api-definition
public TabViewHeaderPosition ImagePosition { get; set; }

Property Value

TabViewHeaderPosition

ImageSource

Gets or sets the ImageSource of the to be displayed in the header item.

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

ImageSpacing

Gets or sets the spacing in pixels between the image and the text in the header item.

Declaration

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

Property Value

double

ImageWidth

Gets or sets the desired width of the image in the header item. When set explicitly, this property can be used to resize the image.

Declaration

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

Property Value

double

IsSelected

Gets or sets a value indicating whether the current header item is selected.

Declaration

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

Property Value

bool

Position

Gets the relative position of the header item in respect to the content area. This property is used to apply some styling adjustments of the header item 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

Text

Gets or sets the text to be displayed in the header item.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

TextColor

Gets or sets the color of the text in the header item.

Declaration

cs-api-definition
public Color TextColor { get; set; }

Property Value

Color

TextDecorations

Gets or sets the decorations of the text in the header item. For more information see the TextDecorations enumerated type.

Declaration

cs-api-definition
public TextDecorations TextDecorations { get; set; }

Property Value

TextDecorations

VerticalTextAlignment

Gets or sets the vertical alignment of the text in the header item. For more information see the TextAlignment enumerated type.

Declaration

cs-api-definition
public TextAlignment VerticalTextAlignment { get; set; }

Property Value

TextAlignment

Methods

ChangeVisualState()

Updates the visual state of the header item based on its current properties.

Declaration

cs-api-definition
protected override void ChangeVisualState()