C# Class Zhwang.SuperNotifyIcon.Taskbar

Mostrar archivo Open project: rzhw/SuperNotifyIcon Class Usage Examples

Public Methods

Method Description
GetTaskbarEdge ( ) : TaskbarEdge

Gets the edge of the screen that the taskbar is docked to.

GetTaskbarLocation ( ) : Point

Gets the location, in screen coordinates of the taskbar.

GetTaskbarRectangle ( ) : Rectangle

Gets the rectangle of the taskbar.

GetTaskbarSize ( ) : Size

Gets the size, in pixels of the taskbar.

GetTaskbarState ( ) : TaskbarState

Gets the current state of the taskbar.

SetTaskBarState ( TaskbarState state ) : void

Sets the state of the taskbar.

Private Methods

Method Description
CreateAppBarData ( ) : NativeMethods.APPBARDATA

Creats an APPBARDATA struct with its hWnd member set to the task bar window.

GetTaskBarData ( ) : NativeMethods.APPBARDATA

Gets an APPBARDATA struct with valid location, size, and edge of the taskbar.

Method Details

GetTaskbarEdge() public static method

Gets the edge of the screen that the taskbar is docked to.
public static GetTaskbarEdge ( ) : TaskbarEdge
return TaskbarEdge

GetTaskbarLocation() public static method

Gets the location, in screen coordinates of the taskbar.
public static GetTaskbarLocation ( ) : Point
return Point

GetTaskbarRectangle() public static method

Gets the rectangle of the taskbar.
public static GetTaskbarRectangle ( ) : Rectangle
return System.Drawing.Rectangle

GetTaskbarSize() public static method

Gets the size, in pixels of the taskbar.
public static GetTaskbarSize ( ) : Size
return System.Drawing.Size

GetTaskbarState() public static method

Gets the current state of the taskbar.
public static GetTaskbarState ( ) : TaskbarState
return TaskbarState

SetTaskBarState() public static method

Sets the state of the taskbar.
public static SetTaskBarState ( TaskbarState state ) : void
state TaskbarState The new state.
return void