Back to Devexpress

TabItem Class

maui-devexpress-dot-maui-dot-controls-712d3676.md

latest11.1 KB
Original Source

TabItem Class

The base class for the TabViewItem class.

Namespace : DevExpress.Maui.Controls

Assembly : DevExpress.Maui.Controls.dll

NuGet Package : DevExpress.Maui.Controls

Declaration

csharp
public abstract class TabItem :
    Element,
    IAppearanceOwner

Remarks

The TabView class contains the following appearance settings:

PropertyDescription
ScrollAnimationEnabledGets or sets whether the Tab View animates transition between two tab items. This is a bindable property.
IsSelectedItemIndicatorVisibleGets or sets whether the Selected Item Indicator is visible. This is a bindable property.
HeaderPanelBackgroundColorGets or sets the background color of the view’s header panel. This is a bindable property.
HeaderPanelContentAlignmentGets or sets a value that specifies how the view aligns item headers in the header panel. This is a bindable property.
HeaderPanelHeightGets or sets the header panel’s height when the HeaderPanelPosition is set to Top or Bottom. This is a bindable property.
HeaderPanelIndentGets or sets spacing before the first item and the panel’s start edge. This is a bindable property.
HeaderPanelItemSpacingGets or sets the spacing between item headers. This is a bindable property.
HeaderPanelMaxHeightGets or sets the header panel’s maximum height when HeaderPanelPosition is Top or Bottom. This is a bindable property.
HeaderPanelMaxWidthGets or sets the header panel’s maximum width when HeaderPanelPosition is Left or Right. This is a bindable property.
HeaderPanelMinHeightGets or sets the header panel’s minimum height when the HeaderPanelPosition is Top or Bottom. This is a bindable property.
HeaderPanelMinWidthGets or sets the header panel’s minimum width when the HeaderPanelPosition is set to Left or Right. This is a bindable property.
HeaderPanelPositionGets or sets the header panel’s position within the view. This is a bindable property.
IsHeaderPanelShadowVisibleGets or sets whether the Header Panel‘s shadow is visible. This is a bindable property.
HeaderPanelShadowColorGets or sets the color the Tab View uses to paint the header panel’s shadow. This is a bindable property.
HeaderPanelShadowHeightGets or sets the height of the header panel’s shadow. This is a bindable property.
HeaderPanelShadowRadiusGets or sets the blur radius of the header panel’s shadow. This is a bindable property.
HeaderPanelWidthGets or sets the header panel’s width when the HeaderPanelPosition is set to Left or Right. This is a bindable property.
ItemHeaderFontAttributesGets or sets a value that indicates whether the font for item header text is bold, italic, or neither. This is a bindable property.
ItemHeaderFontFamilyGets or sets the font family to which the font for item header text belongs. This is a bindable property.
ItemHeaderFontSizeGets or sets the size of the font for item header text. This is a bindable property.
ItemHeaderHeightGets or sets the height of header items when HeaderPanelPosition is Left or Right. This is a bindable property.
ItemHeaderIconColorGets or sets the color all tab items use to paint their header icons. This is a bindable property.
ItemHeaderIconPositionGets or sets the position of the header icons relative to the headers’ text. This is a bindable property.
ItemHeaderIconSpacingGets or sets spacing between the icon and the text of a header item. This is a bindable property.
ItemHeaderMaxHeightGets or sets the maximum height of header items when HeaderPanelPosition is Left or Right. This is a bindable property.
ItemHeaderMaxWidthGets or sets the maximum width of header items when HeaderPanelPosition is Top or Bottom. This is a bindable property.
ItemHeaderMinHeightGets or sets the minimum height of header items when HeaderPanelPosition is Left or Right. This is a bindable property.
ItemHeaderMinWidthGets or sets the minimum width of header items when HeaderPanelPosition is Top or Bottom. This is a bindable property.
ItemHeaderPlacementOnSelectionGets or sets a value that specifies how the TabView positions newly selected items. This is a bindable property.
ItemHeaderTemplateGets or sets the template the Tab View uses to generate headers of the tab items from the ItemsSource. This is a bindable property.
ItemHeaderTextColorGets or sets the color tab items use to paint their texts when items are in the default state. This is a bindable property.
ItemHeaderWidthGets or sets the width of header items when HeaderPanelPosition is Top or Bottom. This is a bindable property.
SelectedItemHeaderBackgroundColorGets or sets the background color of tab item headers in the selected state. This is a bindable property.
SelectedItemHeaderIconColorGets or sets the color tab item headers in the selected state use to paint icons. This is a bindable property.
SelectedItemHeaderTextColorGets or sets the color tab item headers in the selected state use to paint icons. This is a bindable property.
SelectedItemIndicatorColorGets or sets the color of the Selected Item Indicator. This is a bindable property.
SelectedItemIndicatorHeightGets or sets the pop-up view corner radius. This is a bindable property.

Use the TabViewActualAppearance to get the appearance settings that are applied to the TabView.

Implements

INotifyPropertyChanged

IElementController

Inheritance

System.Object BindableObject Element TabItem TabViewItem

Extension Methods

Yield<TabItem>()

YieldIfNotNull<TabItem>()

See Also

TabItem Members

DevExpress.Maui.Controls Namespace