Class ThumbnailButtonClickedEventArgs
- Namespace
- Microsoft.WindowsAPICodePack.Taskbar
- Assembly
- Microsoft.WindowsAPICodePack.Shell.dll
Event args for TabbedThumbnailButton.Click event
public class ThumbnailButtonClickedEventArgs : EventArgs
- Inheritance
-
ThumbnailButtonClickedEventArgs
- Inherited Members
Constructors
ThumbnailButtonClickedEventArgs(nint, ThumbnailToolBarButton)
Creates a Event Args for the TabbedThumbnailButton.Click event
public ThumbnailButtonClickedEventArgs(nint windowHandle, ThumbnailToolBarButton button)
Parameters
windowHandle
nintWindow handle for the control/window related to the event
button
ThumbnailToolBarButtonThumbnail toolbar button that was clicked
ThumbnailButtonClickedEventArgs(UIElement, ThumbnailToolBarButton)
Creates a Event Args for the TabbedThumbnailButton.Click event
public ThumbnailButtonClickedEventArgs(UIElement windowsControl, ThumbnailToolBarButton button)
Parameters
windowsControl
UIElementWPF Control (UIElement) related to the event
button
ThumbnailToolBarButtonThumbnail toolbar button that was clicked
Properties
ThumbnailButton
Gets the ThumbnailToolBarButton that was clicked
public ThumbnailToolBarButton ThumbnailButton { get; }
Property Value
WindowHandle
Gets the Window handle for the specific control/window that is related to this event.
public nint WindowHandle { get; }
Property Value
Remarks
For WPF Controls (UIElement) the WindowHandle will be IntPtr.Zero. Check the WindowsControl property to get the specific control associated with this event.
WindowsControl
Gets the WPF Control (UIElement) that is related to this event. This property may be null for non-WPF applications.
public UIElement WindowsControl { get; }
Property Value
- UIElement