Dela via


SystemTray Class

Definition

Important

The SystemTray class is deprecated and non-functional. It may not be available in future versions of Windows.

public ref class SystemTray sealed : ISystemTray
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SystemTray final : ISystemTray
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SystemTray : ISystemTray
Public NotInheritable Class SystemTray
Implements ISystemTray
Inheritance
Object Platform::Object IInspectable SystemTray
Attributes
Implements

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Properties

ForegroundColor

Important

The SystemTray class is deprecated and non-functional. It may not be available in future versions of Windows.

OccludedRect

Important

The SystemTray class is deprecated and non-functional. It may not be available in future versions of Windows.

Methods

GetForCurrentView()

Important

The SystemTray class is deprecated and non-functional. It may not be available in future versions of Windows.

HideAsync()

Important

The SystemTray class is deprecated and non-functional. It may not be available in future versions of Windows.

ShowAsync()

Important

The SystemTray class is deprecated and non-functional. It may not be available in future versions of Windows.

Applies to