Share via


WebUICommandBar Class

Definition

Deprecated. Represents a command bar.

public ref class WebUICommandBar sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.WebUI.Core.WebUICommandBarContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WebUICommandBar final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.WebUI.Core.WebUICommandBarContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WebUICommandBar
Public NotInheritable Class WebUICommandBar
Inheritance
Object Platform::Object IInspectable WebUICommandBar
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.UI.WebUI.Core.WebUICommandBarContract (introduced in v1.0)

Remarks

Use of the Command Bar (also known as "App Bar") UX element is deprecated for UWP apps using JavaScript and no longer supported. If your app still requires it, this functionality is available from the WinJS 4 library.

Properties

BackgroundColor

Deprecated. Gets or sets the background color of the command bar.

ClosedDisplayMode

Deprecated. Gets or sets the closed display mode for the command bar.

ForegroundColor

Deprecated. Gets or sets the foreground color of the command bar.

IsOpen

Deprecated. Gets or sets whether the command bar is open.

Opacity

Deprecated. Gets or sets the opacity level of the command bar.

PrimaryCommands

Deprecated. Gets the primary commands on the command bar.

SecondaryCommands

Deprecated. Gets the secondary commands on the command bar.

Size

Deprecated. Gets the size of the command bar.

Visible

Deprecated. Gets or sets whether the command bar is displayed.

Methods

GetForCurrentView()

Deprecated. Gets the command bar currently being presented.

Events

MenuClosed

Deprecated. Occurs when a menu is closed.

MenuOpened

Deprecated. Occurs when a menu is opened.

SizeChanged

Deprecated. Occurs when the size of the command bar changes.

Applies to