Share via


InfoBarPanel.HorizontalOrientationMargin Attached Property

Definition

The margin of the InfoBarPanel when its items are horizontally aligned. This property is reserved for internal use and is not intended to be used in your code.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

see GetHorizontalOrientationMargin, and SetHorizontalOrientationMargin
see GetHorizontalOrientationMargin, and SetHorizontalOrientationMargin

Remarks

The HorizontalOrientationMargin is applied on an element in addition to the element's Margin property.

However, the leading and trailing margins are ignored. The HorizontalOrientationMargin.Left is ignored on the first child, and the HorizontalOrientationMargin.Right is ignored on the last child. This applies to the first/last child that are not collapsed (that take up layout space). For example, if the first child is collapsed, it's the HorizontalOrientationMargin.Left of the second child that is ignored.

Applies to