Skip to main content

HeaderElements Enum

Lists the combination of elements the item header shows.

Namespace: DevExpress.XamarinForms.Navigation

Assembly: DevExpress.XamarinForms.Navigation.dll

NuGet Package: DevExpress.XamarinForms.Navigation

Declaration

public enum HeaderElements : byte

Members

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).

Related API Members

The following properties accept/return HeaderElements values:

Remarks

The following table demonstrates how this enumeration’s values influence tab item headers:

Enumeration value

Sample image

Text

Icon

TextAndIcon

See Also