Method | Description | |
---|---|---|
AddThumbnailPreview ( |
Adds a new tabbed thumbnail to the taskbar.
|
|
ClearThumbnailClip ( |
Clear a clip that is already in place and return to the default display of the thumbnail.
|
|
GetThumbnailPreview ( |
Gets the TabbedThumbnail object associated with the given control
|
|
GetThumbnailPreview ( IntPtr windowHandle ) : TabbedThumbnail |
Gets the TabbedThumbnail object associated with the given window handle
|
|
InvalidateThumbnails ( ) : void |
/// Determines whether the given control has been added to the taskbar's tabbed thumbnail list. /// Invalidates all the tabbed thumbnails. This will force the Desktop Window Manager to not use the cached thumbnail or preview or aero peek and request a new one next time. This method should not be called frequently. Doing so can lead to poor performance as new bitmaps are created and retrieved. |
|
IsThumbnailPreviewAdded ( Control control ) : bool |
Determines whether the given control has been added to the taskbar's tabbed thumbnail list.
|
|
IsThumbnailPreviewAdded ( IntPtr windowHandle ) : bool |
Determines whether the given window has been added to the taskbar's tabbed thumbnail list.
|
|
IsThumbnailPreviewAdded ( TabbedThumbnail preview ) : bool |
/// Sets the given WPF window as being active on the taskbar tabbed thumbnails list. /// Call this method to keep the application and the taskbar in sync as to which window/control /// is currently active (or selected, in the case of tabbed application). /// Determines whether the given preview has been added to the taskbar's tabbed thumbnail list.
|
|
RemoveThumbnailPreview ( Control control ) : void |
Remove the tabbed thumbnail from the taskbar.
|
|
RemoveThumbnailPreview ( IntPtr windowHandle ) : void |
Remove the tabbed thumbnail from the taskbar.
|
|
RemoveThumbnailPreview ( TabbedThumbnail preview ) : void |
/// Gets the TabbedThumbnail object associated with the given WPF Window /// Remove the tabbed thumbnail from the taskbar.
|
|
SetActiveTab ( Control control ) : void |
Sets the given Control/Form window as being active on the taskbar tabbed thumbnails list. Call this method to keep the application and the taskbar in sync as to which window/control is currently active (or selected, in the case of tabbed application).
|
|
SetActiveTab ( IntPtr windowHandle ) : void |
Sets the given window handle as being active on the taskbar tabbed thumbnails list. Call this method to keep the application and the taskbar in sync as to which window/control is currently active (or selected, in the case of tabbed application).
|
|
SetActiveTab ( TabbedThumbnail preview ) : void |
/// Remove the tabbed thumbnail from the taskbar. /// Sets the given tabbed thumbnail preview object as being active on the taskbar tabbed thumbnails list. Call this method to keep the application and the taskbar in sync as to which window/control is currently active (or selected, in the case of tabbed application).
|
|
SetTabOrder ( TabbedThumbnail previewToChange, TabbedThumbnail insertBeforePreview ) : void |
Moves an existing thumbnail to a new position in the application's group.
|
|
SetThumbnailClip ( IntPtr windowHandle, Rectangle clippingRectangle ) : void |
Selects a portion of a window's client area to display as that window's thumbnail in the taskbar.
|
Method | Description | |
---|---|---|
TabbedThumbnailManager ( ) : System |
Internal constructor that creates a new dictionary for keeping track of the window handles and their corresponding thumbnail preview objects.
|
public AddThumbnailPreview ( |
||
preview | Thumbnail preview for a specific window handle or control. The preview /// object can be initialized with specific properties for the title, bitmap, and tooltip. | |
return | void |
public static ClearThumbnailClip ( |
||
windowHandle | The handle to a window represented in the taskbar. This has to be a top-level window. | |
return | void |
public GetThumbnailPreview ( |
||
control | Specific control for which the preview object is requested | |
return |
public GetThumbnailPreview ( IntPtr windowHandle ) : TabbedThumbnail | ||
windowHandle | IntPtr | Window handle for the control/window |
return | TabbedThumbnail |
public IsThumbnailPreviewAdded ( Control control ) : bool | ||
control | Control | The preview to locate on the taskbar's tabbed thumbnail list |
return | bool |
public IsThumbnailPreviewAdded ( IntPtr windowHandle ) : bool | ||
windowHandle | IntPtr | The window to locate on the taskbar's tabbed thumbnail list |
return | bool |
public IsThumbnailPreviewAdded ( TabbedThumbnail preview ) : bool | ||
preview | TabbedThumbnail | The preview to locate on the taskbar's tabbed thumbnail list |
return | bool |
public RemoveThumbnailPreview ( Control control ) : void | ||
control | Control | TabbedThumbnail associated with the control that /// is to be removed from the taskbar |
return | void |
public RemoveThumbnailPreview ( IntPtr windowHandle ) : void | ||
windowHandle | IntPtr | TabbedThumbnail associated with the window handle that /// is to be removed from the taskbar |
return | void |
public RemoveThumbnailPreview ( TabbedThumbnail preview ) : void | ||
preview | TabbedThumbnail | TabbedThumbnail associated with the control/window that /// is to be removed from the taskbar |
return | void |
public SetActiveTab ( Control control ) : void | ||
control | Control | Control/Form that is currently active in the application |
return | void |
public SetActiveTab ( IntPtr windowHandle ) : void | ||
windowHandle | IntPtr | Window handle for the control/window that is currently active in the application |
return | void |
public SetActiveTab ( TabbedThumbnail preview ) : void | ||
preview | TabbedThumbnail | TabbedThumbnail for the specific control/indow that is currently active in the application |
return | void |
public static SetTabOrder ( TabbedThumbnail previewToChange, TabbedThumbnail insertBeforePreview ) : void | ||
previewToChange | TabbedThumbnail | Preview for the window whose order is being changed. /// This value is required, must already be added via AddThumbnailPreview method, and cannot be null. |
insertBeforePreview | TabbedThumbnail | The preview of the tab window whose thumbnail that previewToChange is inserted to the left of. /// This preview must already be added via AddThumbnailPreview. If this value is null, the previewToChange tab is added to the end of the list. /// |
return | void |
public SetThumbnailClip ( IntPtr windowHandle, Rectangle clippingRectangle ) : void | ||
windowHandle | IntPtr | The handle to a window represented in the taskbar. This has to be a top-level window. |
clippingRectangle | Rectangle | Rectangle structure that specifies a selection within the window's client area,
/// relative to the upper-left corner of that client area.
/// |
return | void |