Dela via


WindowTabIcon Class

Definition

Represents the icon that the system displays for a window tab.

public ref class WindowTabIcon sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Shell.WindowTabManagerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WindowTabIcon final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Shell.WindowTabManagerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WindowTabIcon
Public NotInheritable Class WindowTabIcon
Inheritance
Object Platform::Object IInspectable WindowTabIcon
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.23504.0)
API contract
Windows.UI.Shell.WindowTabManagerContract (introduced in v1.0)

Remarks

Important

This API is for Win32 desktop apps only. UWP and other app types are not supported.

Methods

CreateFromFontGlyph(String, String, Uri)

Creates an icon from the provided glyph, font family, and font URI.

CreateFromFontGlyph(String, String)

Creates an icon from the provided glyph and font family.

CreateFromImage(IRandomAccessStreamReference)

Creates the icon from the provided image stream.

Applies to