Back to Devexpress

ContentAlignment Enum

mobilecontrols-devexpress-dot-xamarinforms-dot-navigation.md

latest2.6 KB
Original Source

ContentAlignment Enum

Lists values that indicate item headers’ alignment in the header panel.

Namespace : DevExpress.XamarinForms.Navigation

Assembly : DevExpress.XamarinForms.Navigation.dll

NuGet Package : DevExpress.XamarinForms.Navigation

Declaration

csharp
public enum ContentAlignment : byte

Members

NameDescription
Start

The Tab View docks tab items to the Header Panel’s ‘start’ edge.

| | End |

The Tab View docks tab items to the Header Panel’s ‘end’ edge.

| | Center |

The Tab View centers tab items in the Header Panel.

|

The following properties accept/return ContentAlignment values:

Remarks

Note that the Header Panel’s ‘start’ and ‘end’ are different for ‘vertical’ ( Top / Bottom ) and ‘horizontal’ ( Left / Right ) HeaderPanelPosition:

  • For horizontal positions - the Header Panel’s ‘start’ is the panel’s left edge and ‘end’ is the right edge.
  • For vertical positions - the Header Panel’s ‘start’ is the panel’s top edge and ‘end’ is the bottom edge.

The aligned items looks as follows in these cases:

|

Alignment

|

Horizontal Position

|

Vertical Position

| | --- | --- | --- | |

Start

|

|

| |

Center

|

|

| |

End

|

|

|

See Also

TabView.HeaderPanelContentAlignment

DevExpress.XamarinForms.Navigation Namespace