Property | Type | Description | |
---|---|---|---|
GetTabbedThumbnailClosingEventArgs | Microsoft.WindowsAPI.Taskbar.TabbedThumbnailClosedEventArgs | ||
GetTabbedThumbnailEventArgs | Microsoft.WindowsAPI.Taskbar.TabbedThumbnailEventArgs | ||
OnTabbedThumbnailActivated | void | ||
OnTabbedThumbnailBitmapRequested | void | ||
OnTabbedThumbnailClosed | bool | ||
OnTabbedThumbnailMaximized | void | ||
OnTabbedThumbnailMinimized | void | ||
SetImage | void |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Release the native objects.
|
|
InvalidatePreview ( ) : void |
Invalidate any existing thumbnail preview. Calling this method will force DWM to request a new bitmap next time user previews the thumbnails or requests Aero peek preview.
|
|
SetImage ( |
Override the thumbnail and peek bitmap. By providing this bitmap manually, Thumbnail Window manager will provide the Desktop Window Manager (DWM) this bitmap instead of rendering one automatically. Use this property to update the bitmap whenever the control is updated and the user needs to be shown a new thumbnail on the taskbar preview (or aero peek). If the bitmap doesn't have the right dimensions, the DWM may scale it or not render certain areas as appropriate - it is the user's responsibility to render a bitmap with the proper dimensions. |
|
SetImage ( System.Windows.Media.Imaging.BitmapSource bitmapSource ) : void |
Override the thumbnail and peek bitmap. By providing this bitmap manually, Thumbnail Window manager will provide the Desktop Window Manager (DWM) this bitmap instead of rendering one automatically. Use this property to update the bitmap whenever the control is updated and the user needs to be shown a new thumbnail on the taskbar preview (or aero peek). If the bitmap doesn't have the right dimensions, the DWM may scale it or not render certain areas as appropriate - it is the user's responsibility to render a bitmap with the proper dimensions. |
|
SetWindowIcon ( |
Sets the window icon for this thumbnail preview
|
|
SetWindowIcon ( |
Sets the window icon for this thumbnail preview This method will not release the icon handle. It is the caller's responsibility to release the icon handle. |
|
TabbedThumbnail ( |
Creates a new TabbedThumbnail with the given window handle of the parent and a child control (e.g. TabPage or Panel) This method can also be called when using a WindowsFormHost control in a WPF application. Call this method with the main WPF Window's handle, and windowsFormHost.Child control. |
|
TabbedThumbnail ( |
Creates a new TabbedThumbnail with the given window handle of the parent and a child control/window's handle (e.g. TabPage or Panel)
|
|
TabbedThumbnail ( |
Creates a new TabbedThumbnail with the given window handle of the parent and a WPF child Window. For WindowsFormHost control, use TabbedThumbnail(IntPtr, Control) overload and pass the WindowsFormHost.Child as the second parameter.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Release the native objects.
|
Method | Description | |
---|---|---|
GetTabbedThumbnailClosingEventArgs ( ) : Microsoft.WindowsAPI.Taskbar.TabbedThumbnailClosedEventArgs | ||
GetTabbedThumbnailEventArgs ( ) : Microsoft.WindowsAPI.Taskbar.TabbedThumbnailEventArgs | ||
OnTabbedThumbnailActivated ( ) : void | ||
OnTabbedThumbnailBitmapRequested ( ) : void | ||
OnTabbedThumbnailClosed ( ) : bool |
Returns true if the thumbnail was removed from the taskbar; false if it was not.
|
|
OnTabbedThumbnailMaximized ( ) : void | ||
OnTabbedThumbnailMinimized ( ) : void | ||
SetImage ( |
Override the thumbnail and peek bitmap. By providing this bitmap manually, Thumbnail Window manager will provide the Desktop Window Manager (DWM) this bitmap instead of rendering one automatically. Use this property to update the bitmap whenever the control is updated and the user needs to be shown a new thumbnail on the taskbar preview (or aero peek). If the bitmap doesn't have the right dimensions, the DWM may scale it or not render certain areas as appropriate - it is the user's responsibility to render a bitmap with the proper dimensions. |
public SetImage ( |
||
bitmap | The image to use. | |
return | void |
public SetImage ( System.Windows.Media.Imaging.BitmapSource bitmapSource ) : void | ||
bitmapSource | System.Windows.Media.Imaging.BitmapSource | The image to use. |
return | void |
public SetWindowIcon ( |
||
icon | System.Drawing.Icon for the window/control associated with this preview | |
return | void |
public SetWindowIcon ( |
||
iconHandle | Icon handle (hIcon) for the window/control associated with this preview | |
return | void |
public TabbedThumbnail ( |
||
parentWindowHandle | Window handle of the parent window. /// This window has to be a top-level window and the handle cannot be null or IntPtr.Zero | |
control | Child control for which a tabbed thumbnail needs to be displayed | |
return | System |
public TabbedThumbnail ( |
||
parentWindowHandle | Window handle of the parent window. /// This window has to be a top-level window and the handle cannot be null or IntPtr.Zero | |
windowHandle | Window handle of the child control or window for which a tabbed /// thumbnail needs to be displayed | |
return | System |
public TabbedThumbnail ( |
||
parentWindow | Parent window for the UIElement control. /// This window has to be a top-level window and the handle cannot be null | |
windowsControl | WPF Control (UIElement) for which a tabbed thumbnail needs to be displayed | |
peekOffset | System.Windows.Vector | Offset point used for displaying the peek bitmap. This setting is /// recomended for hidden WPF controls as it is difficult to calculate their offset. |
return | System |