ClassTabViewHeaderItem
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:
public class TabViewHeaderItem : TabViewContentBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewTabViewContentBaseTabViewHeaderItem
Implements:
Inherited Members
Constructors
TabViewHeaderItem()
Initializes a new instance of the TabViewHeaderItem class.
Declaration
public TabViewHeaderItem()
Fields
FontAttributesProperty
Identifies the FontAttributes property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
BindableProperty
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
BindableProperty
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
BindableProperty
HorizontalTextAlignmentProperty
Identifies the HorizontalTextAlignment property.
Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
BindableProperty
ImageAspectProperty
Identifies the ImageAspect property.
Declaration
public static readonly BindableProperty ImageAspectProperty
Field Value
BindableProperty
ImageHeightProperty
Identifies the ImageHeight property.
Declaration
public static readonly BindableProperty ImageHeightProperty
Field Value
BindableProperty
ImagePositionProperty
Identifies the ImagePosition property.
Declaration
public static readonly BindableProperty ImagePositionProperty
Field Value
BindableProperty
ImageSourceProperty
Identifies the ImageSource property.
Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
BindableProperty
ImageSpacingProperty
Identifies the ImageSpacing property.
Declaration
public static readonly BindableProperty ImageSpacingProperty
Field Value
BindableProperty
ImageWidthProperty
Identifies the ImageWidth property.
Declaration
public static readonly BindableProperty ImageWidthProperty
Field Value
BindableProperty
IsSelectedProperty
Identifies the IsSelected property.
Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
BindableProperty
PositionProperty
Identifies the Position property.
Declaration
public static readonly BindableProperty PositionProperty
Field Value
BindableProperty
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
BindableProperty
TextDecorationsProperty
Identifies the TextDecorations property.
Declaration
public static readonly BindableProperty TextDecorationsProperty
Field Value
BindableProperty
TextProperty
Identifies the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
BindableProperty
VerticalTextAlignmentProperty
Identifies the VerticalTextAlignment property.
Declaration
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
public FontAttributes FontAttributes { get; set; }
Property Value
FontAttributes
FontFamily
Gets or sets the font family of the text in the header item.
FontSize
Gets or sets the font size of the text in the header item.
Declaration
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
Property Value
HorizontalTextAlignment
Gets or sets the horizontal alignment of the text in the header item. For more information see the TextAlignment enumerated type.
Declaration
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
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.
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
public TabViewHeaderPosition ImagePosition { get; set; }
Property Value
ImageSource
Gets or sets the ImageSource of the to be displayed in the header item.
Declaration
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.
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.
IsSelected
Gets or sets a value indicating whether the current header item is selected.
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
public TabViewHeaderPosition Position { get; }
Property Value
Text
Gets or sets the text to be displayed in the header item.
TextColor
Gets or sets the color of the text in the header item.
Declaration
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
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
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
TextAlignment
Methods
ChangeVisualState()
Updates the visual state of the header item based on its current properties.
Declaration
protected override void ChangeVisualState()