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

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

Definition

Constructors

Initializes a new instance of the TabViewHeaderItem class.

C#
public TabViewHeaderItem()

Fields

FontAttributesProperty

BindableProperty

Identifies the FontAttributes property.

C#
public static readonly BindableProperty FontAttributesProperty

FontFamilyProperty

BindableProperty

Identifies the FontFamily property.

C#
public static readonly BindableProperty FontFamilyProperty

FontSizeProperty

BindableProperty

Identifies the FontSize property.

C#
public static readonly BindableProperty FontSizeProperty

Identifies the HorizontalTextAlignment property.

C#
public static readonly BindableProperty HorizontalTextAlignmentProperty

ImageAspectProperty

BindableProperty

Identifies the ImageAspect property.

C#
public static readonly BindableProperty ImageAspectProperty

ImageHeightProperty

BindableProperty

Identifies the ImageHeight property.

C#
public static readonly BindableProperty ImageHeightProperty

ImagePositionProperty

BindableProperty

Identifies the ImagePosition property.

C#
public static readonly BindableProperty ImagePositionProperty

ImageSourceProperty

BindableProperty

Identifies the ImageSource property.

C#
public static readonly BindableProperty ImageSourceProperty

ImageSpacingProperty

BindableProperty

Identifies the ImageSpacing property.

C#
public static readonly BindableProperty ImageSpacingProperty

ImageWidthProperty

BindableProperty

Identifies the ImageWidth property.

C#
public static readonly BindableProperty ImageWidthProperty

IsSelectedProperty

BindableProperty

Identifies the IsSelected property.

C#
public static readonly BindableProperty IsSelectedProperty

PositionProperty

BindableProperty

Identifies the Position property.

C#
public static readonly BindableProperty PositionProperty

TextColorProperty

BindableProperty

Identifies the TextColor property.

C#
public static readonly BindableProperty TextColorProperty

TextDecorationsProperty

BindableProperty

Identifies the TextDecorations property.

C#
public static readonly BindableProperty TextDecorationsProperty

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Identifies the VerticalTextAlignment property.

C#
public static readonly BindableProperty VerticalTextAlignmentProperty

Properties

FontAttributes

FontAttributes

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

C#
public FontAttributes FontAttributes { get; set; }

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

C#
public string FontFamily { get; set; }

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

C#
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

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

C#
public TextAlignment HorizontalTextAlignment { get; set; }

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

C#
public Aspect ImageAspect { get; set; }

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.

C#
public double ImageHeight { get; set; }

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.

C#
public TabViewHeaderPosition ImagePosition { get; set; }

ImageSource

ImageSource

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

C#
public ImageSource ImageSource { get; set; }

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

C#
public double ImageSpacing { get; set; }

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.

C#
public double ImageWidth { get; set; }

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

C#
public bool IsSelected { get; set; }

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.

C#
public TabViewHeaderPosition Position { get; }

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

C#
public string Text { get; set; }

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

C#
public Color TextColor { get; set; }

TextDecorations

TextDecorations

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

C#
public TextDecorations TextDecorations { get; set; }

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

C#
public TextAlignment VerticalTextAlignment { get; set; }

Methods

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

C#
protected override void ChangeVisualState()