Share via


InfoBarPanel.VerticalOrientationMargin Attached Property

Definition

The margin of the InfoBarPanel when its items are vertically 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 GetVerticalOrientationMargin, and SetVerticalOrientationMargin
see GetVerticalOrientationMargin, and SetVerticalOrientationMargin

Remarks

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

However, the leading and trailing margins are ignored. The VerticalOrientationMargin.Top is ignored on the first child, and the VerticalOrientationMargin.Bottom 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 VerticalOrientationMargin.Top of the second child that is ignored.

Applies to