Skip to main content

TabView Properties

A view that organizes content into groups at the same hierarchy level and allows tab navigation between them.
Name Description
ActualAppearance Gets the common appearance settings that are applied to the current TabView.
AnchorX Gets or sets the X component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AnchorY Gets or sets the Y component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AutomationId Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
Background Gets or sets the Brush which will be used to fill the background of an element. This is a bindable property. Inherited from VisualElement.
BackgroundColor Gets or sets the Color which will fill the background of an element. This is a bindable property. Inherited from VisualElement.
Batched Gets a value that indicates there are batched changes done for this element. Inherited from VisualElement.
Behaviors Gets the list of Behavior objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
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.
Bounds Gets the bounds of the element in device-independent units. Inherited from VisualElement.
class Gets or sets the style classes for the element. Inherited from NavigableElement.
ClassId Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element.
Clip Specifies the clipping region for an element. This is a bindable property. Inherited from VisualElement.
DesiredSize Gets the size that this element computed during the measure pass of the layout process. Inherited from VisualElement.
DisableLayout Gets a value that indicates that layout for this element is disabled. Inherited from VisualElement.
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.
FlowDirection Gets or sets the layout flow direction. This is a bindable property. Inherited from VisualElement.
Frame Gets or sets the frame this element resides in on screen. Inherited from VisualElement.
GestureRecognizers The collection of gesture recognizers associated with this view. Inherited from View.
Handler Gets or sets the IViewHandler associated to this element. Inherited from VisualElement.
HeaderPanelBackgroundColor Gets or sets the background color of the view’s header panel. This is a bindable property.
HeaderPanelContentAlignment Gets or sets a value that specifies how the view aligns item headers in the header panel. This is a bindable property.
HeaderPanelHeight Gets or sets the header panel’s height when the HeaderPanelPosition is set to Top or Bottom. This is a bindable property.
HeaderPanelIndent Gets or sets spacing before the first item and the panel’s start edge. This is a bindable property.
HeaderPanelItemSpacing Gets or sets the spacing between item headers. This is a bindable property.
HeaderPanelMaxHeight Gets or sets the header panel’s maximum height when HeaderPanelPosition is Top or Bottom. This is a bindable property.
HeaderPanelMaxWidth Gets or sets the header panel’s maximum width when HeaderPanelPosition is Left or Right. This is a bindable property.
HeaderPanelMinHeight Gets or sets the header panel’s minimum height when the HeaderPanelPosition is Top or Bottom. This is a bindable property.
HeaderPanelMinWidth Gets or sets the header panel’s minimum width when the HeaderPanelPosition is set to Left or Right. This is a bindable property.
HeaderPanelPadding Gets or sets paddings of the TabView header panel. This is a bindable property.
HeaderPanelPosition Gets or sets the header panel’s position within the view. This is a bindable property.
HeaderPanelShadowColor Gets or sets the color the Tab View uses to paint the header panel’s shadow. This is a bindable property.
HeaderPanelShadowHeight Gets or sets the height of the header panel’s shadow. This is a bindable property.
HeaderPanelShadowRadius Gets or sets the blur radius of the header panel’s shadow. This is a bindable property.
HeaderPanelWidth Gets or sets the header panel’s width when the HeaderPanelPosition is set to Left or Right. This is a bindable property.
Height Gets the current rendered height of this element. This is a read-only bindable property. Inherited from VisualElement.
HeightRequest Gets or sets the desired height override of this element. This is a bindable property. Inherited from VisualElement.
HorizontalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
InputTransparent Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property. Inherited from VisualElement.
IsEnabled Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property. Inherited from VisualElement.
IsFocused Gets a value indicating whether this element is focused currently. This is a bindable property. Inherited from VisualElement.
IsHeaderPanelShadowVisible Gets or sets whether the Header Panel‘s shadow is visible. This is a bindable property.
IsPlatformEnabled Gets or sets a value that indicates whether this elements’s platform equivalent element is enabled. Inherited from VisualElement.
IsSelectedItemIndicatorVisible Gets or sets whether the Selected Item Indicator is visible. This is a bindable property.
IsVisible Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property. Inherited from VisualElement.
ItemHeaderFontAttributes Gets or sets a value that indicates whether the font for item header text is bold, italic, or neither. This is a bindable property.
ItemHeaderFontFamily Gets or sets the font family to which the font for item header text belongs. This is a bindable property.
ItemHeaderFontSize Gets or sets the size of the font for item header text. This is a bindable property.
ItemHeaderHeight Gets or sets the height of header items when HeaderPanelPosition is Left or Right. This is a bindable property.
ItemHeaderIconColor Gets or sets the color all tab items use to paint their header icons. This is a bindable property.
ItemHeaderIconDataMember Gets or sets the name of the data source field whose values are assigned to icons of header items. This is a bindable property.
ItemHeaderIconPosition Gets or sets the position of the header icons relative to the headers’ text. This is a bindable property.
ItemHeaderIconSpacing Gets or sets spacing between the icon and the text of a header item. This is a bindable property.
ItemHeaderMaxHeight Gets or sets the maximum height of header items when HeaderPanelPosition is Left or Right. This is a bindable property.
ItemHeaderMaxWidth Gets or sets the maximum width of header items when HeaderPanelPosition is Top or Bottom. This is a bindable property.
ItemHeaderMinHeight Gets or sets the minimum height of header items when HeaderPanelPosition is Left or Right. This is a bindable property.
ItemHeaderMinWidth Gets or sets the minimum width of header items when HeaderPanelPosition is Top or Bottom. This is a bindable property.
ItemHeaderPadding Gets or sets paddings of the TabView item’s header. This is a bindable property.
ItemHeaderPlacementOnSelection Gets or sets a value that specifies how the TabView positions newly selected items. This is a bindable property.
ItemHeaderTemplate Gets or sets the template the Tab View uses to generate headers of the tab items from the ItemsSource. This is a bindable property.
ItemHeaderTextColor Gets or sets the color tab items use to paint their texts when items are in the default state. This is a bindable property.
ItemHeaderTextDataMember Gets or sets the name of the data source field whose values are assigned to texts of header items. This is a bindable property.
ItemHeaderVisibleElements Gets or sets a value that specifies elements the item header shows. This is a bindable property.
ItemHeaderWidth Gets or sets the width of header items when HeaderPanelPosition is Top or Bottom. This is a bindable property.
Items Gets or sets the list of tab items the Tab View displays.
ItemsSource Gets or sets a collection used to generate the Tab View’s tab items. This is a bindable property.
ItemTemplate Gets or sets the template the Tab View uses to generate tab item content from the ItemsSource. This is a bindable property.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
Margin Gets or set the margin for the view. Inherited from View.
MinimumHeightRequest Gets or sets the minimum height the element will request during layout. This is a bindable property. Inherited from VisualElement.
MinimumWidthRequest Gets or sets the minimum width the element will request during layout. This is a bindable property. Inherited from VisualElement.
Navigation Gets the object responsible for handling stack-based navigation. Inherited from NavigableElement.
NavigationProxy Gets the cast of Navigation to a NavigationProxy. Inherited from NavigableElement.
Opacity Gets or sets the opacity value applied to the element when it is rendered. The range of this value is 0 to 1; values outside this range will be set to the nearest valid value. This is a bindable property. Inherited from VisualElement.
Parent Gets or sets the parent Element of this element. Inherited from Element.
RealParent For internal use by .NET MAUI. Inherited from Element.
Resources Gets or sets the local resource dictionary. Inherited from VisualElement.
Rotation Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationX Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationY Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
Scale Gets or sets the scale factor applied to the element. This is a bindable property. Inherited from VisualElement.
ScaleX Gets or sets a scale value to apply to the X direction. This is a bindable property. Inherited from VisualElement.
ScaleY Gets or sets a scale value to apply to the Y direction. This is a bindable property. Inherited from VisualElement.
ScrollAnimationEnabled Gets or sets whether the Tab View animates transition between two tab items. This is a bindable property.
SelectedItem Gets or sets the currently selected item. This is a bindable property.
SelectedItemHeaderBackgroundColor Gets or sets the background color of tab item headers in the selected state. This is a bindable property.
SelectedItemHeaderIconColor Gets or sets the color tab item headers in the selected state use to paint icons. This is a bindable property.
SelectedItemHeaderTextColor Gets or sets the color tab item headers in the selected state use to paint icons. This is a bindable property.
SelectedItemIndex Gets or sets the index of the currently selected item. This is a bindable property.
SelectedItemIndicatorColor Gets or sets the color of the Selected Item Indicator. This is a bindable property.
SelectedItemIndicatorHeight Gets or sets the height of the Selected Item Indicator. This is a bindable property.
Style Gets or sets the unique Style for this element. Inherited from NavigableElement.
StyleClass Gets or sets the style classes for the element. Inherited from NavigableElement.
StyleId Gets or sets a user defined value to uniquely identify the element. Inherited from Element.
SwipeEnabled Gets or sets whether swipes over the content area switch tab items. This is a bindable property.
TranslationX Gets or sets the X translation delta of the element. This is a bindable property. Inherited from VisualElement.
TranslationY Gets or sets the Y translation delta of the element. This is a bindable property. Inherited from VisualElement.
Triggers Gets the list of TriggerBase objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
VerticalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
Visual Gets or sets a IVisual implementation that overrides the visual appearance of an element. This is a bindable property. Inherited from VisualElement.
Width Gets the current width of this element. This is a read-only bindable property. Inherited from VisualElement.
WidthRequest Gets or sets the desired width override of this element. This is a bindable property. Inherited from VisualElement.
X Gets the current X position of this element. This is a read-only bindable property. Inherited from VisualElement.
Y Gets the current Y position of this element. This is a read-only bindable property. Inherited from VisualElement.
See Also