Dela via


WindowTabThumbnailRequestedEventArgs Class

Definition

Provides data for the WindowTabManager.TabThumbnailRequested event.

public ref class WindowTabThumbnailRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Shell.WindowTabManagerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WindowTabThumbnailRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Shell.WindowTabManagerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WindowTabThumbnailRequestedEventArgs
Public NotInheritable Class WindowTabThumbnailRequestedEventArgs
Inheritance
Object Platform::Object IInspectable WindowTabThumbnailRequestedEventArgs
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.

Properties

Image

Gets or sets the thumbnail image of the tab to be displayed by the system.

IsCompositedOnWindow

Gets a value that indicates whether the thumbnail is composited on the window.

RequestedSize

Gets the size requested by the system for the thumbnail image.

Tab

Gets the window tab for which the system has requested a thumbnail image.

Methods

GetDeferral()

Gets a deferral object that delays the completion of the event until the generation of the thumbnail image is complete.

Applies to

See also