C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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. ///

Описание методов

AddButtons() публичный Метод

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
Результат void