Skip to main content

TabItem.HeaderVisibleElements Property

Gets or sets a value that specifies elements the item header shows.

Namespace: DevExpress.XamarinForms.Navigation

Assembly: DevExpress.XamarinForms.Navigation.dll

NuGet Package: DevExpress.XamarinForms.Navigation

Declaration

public HeaderElements HeaderVisibleElements { get; set; }

Property Value

Type Description
HeaderElements

The value that specifies elements the item header shows.

Available values:

Name Description
Default

Identifies header elements a tab item shows by default.

Text

An item header shows only text (TabPageItem.HeaderText or TabViewItem.HeaderText) even if the TabPageItem.HeaderIcon or TabViewItem.HeaderIcon property is also specified.

Icon

An item header shows only an icon (TabPageItem.HeaderIcon or TabViewItem.HeaderIcon) even if the TabPageItem.HeaderText or TabViewItem.HeaderText property is also specified.

TextAndIcon

An item header shows both text (TabPageItem.HeaderText or TabViewItem.HeaderText) and icon (TabPageItem.HeaderIcon or TabViewItem.HeaderIcon).

Remarks

The following values are available:

Value

Sample Image

Description

Text

An item header shows only text (TabPageItem.HeaderText or TabViewItem.HeaderText) even if the TabPageItem.HeaderIcon or TabViewItem.HeaderIcon property is also specified.

Icon

An item header shows only an icon (TabPageItem.HeaderIcon or TabViewItem.HeaderIcon) even if the TabPageItem.HeaderText or TabViewItem.HeaderText property is also specified.

TextAndIcon

An item header shows both text (TabPageItem.HeaderText or TabViewItem.HeaderText) and icon (TabPageItem.HeaderIcon or TabViewItem.HeaderIcon).

See Also