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