Skip to main content

TabViewItem Members

Stores the TabView item’s header settings and content.

Constructors

Name Description
TabViewItem() Initializes a new instance of the TabViewItem class.

Fields

Name Description
AutomationIdProperty static Bindable property for AutomationId. Inherited from Element.
BindingContextProperty static Bindable property for BindingContext. Inherited from BindableObject.
ClassIdProperty static Bindable property for ClassId. Inherited from Element.
ContentProperty static Identifies the Content bindable property.
CornerRadiusProperty static Identifies the CornerRadius bindable property. Inherited from TabItem.
HeaderContentProperty static Identifies the HeaderContent bindable property. Inherited from TabItem.
HeaderFontAttributesProperty static Identifies the HeaderFontAttributes bindable property. Inherited from TabItem.
HeaderFontFamilyProperty static Identifies the HeaderFontFamily bindable property. Inherited from TabItem.
HeaderFontSizeProperty static Identifies the HeaderFontSize bindable property. Inherited from TabItem.
HeaderHeightProperty static Identifies the HeaderHeight bindable property. Inherited from TabItem.
HeaderIconColorProperty static Identifies the HeaderIconColor bindable property. Inherited from TabItem.
HeaderIconPositionProperty static Identifies the HeaderIconPosition bindable property. Inherited from TabItem.
HeaderIconProperty static Identifies the HeaderIcon bindable property.
HeaderIconSpacingProperty static Identifies the HeaderIconSpacing bindable property. Inherited from TabItem.
HeaderMaxHeightProperty static Identifies the HeaderMaxHeight bindable property. Inherited from TabItem.
HeaderMaxWidthProperty static Identifies the HeaderMaxWidth bindable property. Inherited from TabItem.
HeaderMinHeightProperty static Identifies the HeaderMinHeight bindable property. Inherited from TabItem.
HeaderMinWidthProperty static Identifies the HeaderMinWidth bindable property. Inherited from TabItem.
HeaderPaddingProperty static Identifies the HeaderPadding bindable property. Inherited from TabItem.
HeaderTextColorProperty static Identifies the HeaderTextColor bindable property. Inherited from TabItem.
HeaderTextProperty static Identifies the HeaderText bindable property.
HeaderVisibleElementsProperty static Identifies the HeaderVisibleElements bindable property. Inherited from TabItem.
HeaderWidthProperty static Identifies the HeaderWidth bindable property. Inherited from TabItem.
SelectedHeaderBackgroundColorProperty static Identifies the SelectedHeaderBackgroundColor bindable property. Inherited from TabItem.
SelectedHeaderIconColorProperty static Identifies the SelectedHeaderIconColor bindable property. Inherited from TabItem.
SelectedHeaderTextColorProperty static Identifies the SelectedHeaderTextColor bindable property. Inherited from TabItem.

Properties

Name Description
ActualAppearance Gets the common appearance settings that are applied to the current TabItem. Inherited from TabItem.
AutomationId Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

Inherited from BindableObject.
ClassId Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element.
Content Gets or sets a view that the TabView displays in the content area when the item is selected. This is a bindable property.
CornerRadius Gets or sets a TabItem‘s corner radius. This is a bindable property. Inherited from TabItem.
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s).

Inherited from BindableObject.
EffectControlProvider For internal use by .NET MAUI. Inherited from Element.
Effects Gets or sets the styles and properties that will be applied to the element during runtime. Inherited from Element.
HeaderContent Gets or sets the view the Tab View displays for a tab item instead of the default item header. This is a bindable property. Inherited from TabItem.
HeaderFontAttributes Gets or sets a value that indicates whether the font for the item header’s text is bold, italic, or neither. This is a bindable property. Inherited from TabItem.
HeaderFontFamily Gets or sets the font family to which the font for the item header’s text belongs. This is a bindable property. Inherited from TabItem.
HeaderFontSize Gets or sets the size of the font for the item header’s text. This is a bindable property. Inherited from TabItem.
HeaderHeight Gets or sets the item header height when the TabView.HeaderPanelPosition is Left or Right. This is a bindable property. Inherited from TabItem.
HeaderIcon Gets or sets an icon the item header displays. This is a bindable property.
HeaderIconColor Gets or sets the color the tab item uses in the default state to paint its header icon. This is a bindable property. Inherited from TabItem.
HeaderIconPosition Gets or sets the position of the icon relative to the text in the item header. This is a bindable property. Inherited from TabItem.
HeaderIconSpacing Gets or sets spacing between the icon and the text in the item header. This is a bindable property. Inherited from TabItem.
HeaderMaxHeight Gets or sets the maximum height of the item header when TabView.HeaderPanelPosition is Left or Right. This is a bindable property. Inherited from TabItem.
HeaderMaxWidth Gets or sets the maximum width of the item header when TabView.HeaderPanelPosition is Top or Bottom. This is a bindable property. Inherited from TabItem.
HeaderMinHeight Gets or sets the minimum height of the item header when TabView.HeaderPanelPosition is Left or Right. This is a bindable property. Inherited from TabItem.
HeaderMinWidth Gets or sets the minimum width of the item header when TabView.HeaderPanelPosition is Top or Bottom. This is a bindable property. Inherited from TabItem.
HeaderPadding Gets or sets the inner padding of the item header. This is a bindable property. Inherited from TabItem.
HeaderText Gets or sets the text of the item header title. This is a bindable property.
HeaderTextColor Gets or sets the color the tab item uses in the default state to paint its header text. This is a bindable property. Inherited from TabItem.
HeaderVisibleElements Gets or sets a value that specifies elements the item header shows. This is a bindable property. Inherited from TabItem.
HeaderWidth Gets or sets the item header width when TabView.HeaderPanelPosition is Top or Bottom. This is a bindable property. Inherited from TabItem.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
Parent Gets or sets the parent Element of this element. Inherited from Element.
RealParent For internal use by .NET MAUI. Inherited from Element.
SelectedHeaderBackgroundColor Gets or sets the background color of the tab item header in the selected state. This is a bindable property. Inherited from TabItem.
SelectedHeaderIconColor Gets or sets the color the tab item uses in the selected state to paint its header icon. This is a bindable property. Inherited from TabItem.
SelectedHeaderTextColor Gets or sets the color the tab item uses in the selected state to paint its header text. This is a bindable property. Inherited from TabItem.
StyleId Gets or sets a user defined value to uniquely identify the element. Inherited from Element.

Methods

Name Description
ApplyBindings() protected Applies all the current bindings to BindingContext. Inherited from BindableObject.
ClearValue(BindableProperty) Clears any value that is previously set for a bindable property. Inherited from BindableObject.
ClearValue(BindablePropertyKey) Clears any value that is previously set for a bindable property, identified by its key. Inherited from BindableObject.
CoerceValue(BindableProperty)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

Inherited from BindableObject.
CoerceValue(BindablePropertyKey)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

Inherited from BindableObject.
EffectIsAttached(String) For internal use by .NET MAUI. Inherited from Element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindByName(String) Returns the element that has the specified name. Inherited from Element.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetValue(BindableProperty) Returns the value that is contained in the given bindable property. Inherited from BindableObject.
IsSet(BindableProperty) Determines whether or not a bindable property exists and has a value set. Inherited from BindableObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
IElementController.SetValueFromRenderer(BindableProperty, Object) For internal use by .NET MAUI. Inherited from Element.
OnBindingContextChanged() protected Invoked whenever the binding context of the element changes. Implement this method to add class handling for this event. Inherited from Element.
OnChildAdded(Element) protected Raises the ChildAdded event. Implement this method to add class handling for this event. Inherited from Element.
OnChildRemoved(Element, Int32) protected Raises the ChildRemoved event. Implement this method to add class handling for this event Inherited from Element.
OnParentSet() protected Raises the (internal) ParentSet event. Implement this method in order to add behavior when the element is added to a parent. Inherited from Element.
OnPropertyChanged(String) protected Method that is called when a bound property is changed. Inherited from Element.
OnPropertyChanging(String) protected Raises the PropertyChanging event. Inherited from BindableObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveBinding(BindableProperty) Removes a previously set binding from a bindable property. Inherited from BindableObject.
RemoveDynamicResource(BindableProperty) Removes a previously set dynamic resource. Inherited from Element.
SetBinding(BindableProperty, BindingBase) Assigns a binding to a bindable property. Inherited from BindableObject.
SetDynamicResource(BindableProperty, String) Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key. Inherited from Element.
SetInheritedBindingContext(BindableObject, Object) static Sets the inherited context to a nested element. Inherited from BindableObject.
SetValue(BindableProperty, Object) Sets the value of the specified bindable property. Inherited from BindableObject.
SetValue(BindablePropertyKey, Object) Sets the value of the specified bindable property. Inherited from BindableObject.
SetValueCore(BindableProperty, Object, SetValueFlags) For internal use by the Microsoft.Maui.Controls platform. Inherited from BindableObject.
SetValueFromRenderer(BindableProperty, Object) For internal use by .NET MAUI. Inherited from Element.
SetValueFromRenderer(BindablePropertyKey, Object) For internal use by .NET MAUI. Inherited from Element.
ToString() Returns a string that represents the current object. Inherited from Object.
UnapplyBindings() protected Removes all current bindings from the current context. Inherited from BindableObject.

Events

Name Description
BindingContextChanged Occurs when the value of the BindingContext property changes. Inherited from BindableObject.
ChildAdded Raised whenever a child element is added to the element. Inherited from Element.
ChildRemoved Raised whenever a child element is removed from the element. Inherited from Element.
DescendantAdded Raised whenever a child element is added to the element’s subtree. Inherited from Element.
DescendantRemoved Raised whenever a child element is removed from the elements subtree. Inherited from Element.
PropertyChanged Occurs when a property value changes. Inherited from BindableObject.
PropertyChanging Occurs when a property value is changing. Inherited from BindableObject.
See Also