WindowTab Class
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 information about how a tab in an application should be displayed by the system.
public ref class WindowTab sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.UI.Shell.WindowTabManagerContract")]
/// [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 WindowTab final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.UI.Shell.WindowTabManagerContract")]
[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 WindowTab
function WindowTab()
Public NotInheritable Class WindowTab
- Inheritance
- Attributes
Device family |
Windows Desktop Extension SDK (introduced in 10.0.23504.0)
|
API contract |
Windows.UI.Shell.WindowTabManagerContract (introduced in v1.0)
|
Important
This API is for Win32 desktop apps only. UWP and other app types are not supported.
Window |
Initializes a new instance of the WindowTab class. |
Group |
Gets or sets the group of tabs that this tab is associated with, if any. |
Icon |
Gets or sets the icon that the system displays for the tab. |
Tag |
Gets or sets an arbitrary object value that can be used to store custom information about this object. |
Title |
Gets or sets the text that the system displays as the title for the tab. |
Treat |
Gets or sets a string that identifies a SecondaryTile used by your app. Setting this property indicates that the tab should be treated as if opened by the secondary tile. |
Report |
Notifies the system that a thumbnail image of the app tab is available to be shown. |
Product | Versions |
---|---|
WinRT | Build 22621, Build 26100 |