Skip to main content

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

public enum ContentAlignment : byte

Members

Name Description
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.

Related API Members

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