Share via


InfoBarPanel Class

Definition

Represents a panel that arranges its items horizontally if there is available space, otherwise vertically.

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

/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class InfoBarPanel : Panel
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class InfoBarPanel : Panel
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public class InfoBarPanel : Panel
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public class InfoBarPanel : Panel
Public Class InfoBarPanel
Inherits Panel
Inheritance
InfoBarPanel
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContractVersionAttribute

Remarks

An InfoBarPanel element is the main content area in the default template XAML for InfoBar. InfoBarPanel isn't typically used for general XAML UI composition.

Constructors

InfoBarPanel()

Initializes a new instance of the InfoBarPanel class.

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

Properties

HorizontalOrientationMarginProperty

Gets the identifier for the InfoBarPanel.HorizontalOrientationMargin dependency property.

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

HorizontalOrientationPadding

Gets and sets the distance between the edges of the InfoBarPanel and its children when the panel is oriented horizontally.

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

HorizontalOrientationPaddingProperty

Gets the identifier for the InfoBarPanel.HorizontalOrientationPadding dependency property.

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

VerticalOrientationMarginProperty

Gets the identifier for the InfoBarPanel.VerticalOrientationMargin dependency property.

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

VerticalOrientationPadding

Gets and sets the distance between the edges of the InfoBarPanel and its children when the panel is oriented vertically.

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

VerticalOrientationPaddingProperty

Gets the identifier for the InfoBarPanel.VerticalOrientationPadding dependency property.

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

Attached Properties

HorizontalOrientationMargin

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

VerticalOrientationMargin

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

Methods

GetHorizontalOrientationMargin(DependencyObject)

Gets the HorizontalOrientationMargin from an object. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

GetVerticalOrientationMargin(DependencyObject)

Gets the VerticalOrientationMargin from an object. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

SetHorizontalOrientationMargin(DependencyObject, Thickness)

Sets the HorizontalOrientationMargin to an object.

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

SetVerticalOrientationMargin(DependencyObject, Thickness)

Sets the VerticalOrientationMargin to an object.

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

Applies to

See also