C# Class Microsoft.WindowsAPICodePack.Taskbar.ThumbnailToolBarManager

Thumbnail toolbar manager class for adding a thumbnail toolbar with a specified set of buttons to the thumbnail image of a window in a taskbar button flyout.
Mostra file Open project: dlech/SshAgentLib

Public Methods

Method Description
AddButtons ( IntPtr windowHandle ) : void

Adds thumbnail toolbar for the specified window.

After a toolbar has been added to a thumbnail, buttons can be altered only through various properties on the T:Microsoft.WindowsAPICodePack.Taskbar.ThumbnailToolBarButton. While individual buttons cannot be added or removed, they can be shown and hidden through P:Microsoft.WindowsAPICodePack.Taskbar.ThumbnailToolBarButton.Visible as needed. The toolbar itself cannot be removed without re-creating the window itself.

Private Methods

Method Description
ThumbnailToolBarManager ( ) : System
VerifyButtons ( ) : void

/// Adds thumbnail toolbar for the specified WPF Control. ///

After a toolbar has been added to a thumbnail, buttons can be altered only through various /// properties on the ThumbnailToolBarButton. While individual buttons cannot be added or removed, /// they can be shown and hidden through ThumbnailToolBarButton.Visible as needed. /// The toolbar itself cannot be removed without re-creating the window itself. ///

Method Details

AddButtons() public method

Adds thumbnail toolbar for the specified window.
After a toolbar has been added to a thumbnail, buttons can be altered only through various properties on the T:Microsoft.WindowsAPICodePack.Taskbar.ThumbnailToolBarButton. While individual buttons cannot be added or removed, they can be shown and hidden through P:Microsoft.WindowsAPICodePack.Taskbar.ThumbnailToolBarButton.Visible as needed. The toolbar itself cannot be removed without re-creating the window itself.
If the number of buttons exceed the maximum allowed capacity (7). If the Window Handle passed in invalid
public AddButtons ( IntPtr windowHandle ) : void
windowHandle System.IntPtr Window handle for which the thumbnail toolbar buttons need to be added
return void