WindowTabIcon Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |