C# 클래스 Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager

Represents an instance of the Windows taskbar
파일 보기 프로젝트 열기: dlech/SshAgentLib 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCurrentProcessAppId string
SetCurrentProcessAppId void
TaskbarManager System

공개 메소드들

메소드 설명
SetApplicationIdForSpecificWindow ( IntPtr windowHandle, string appId ) : void

Sets the application user model id for an individual window

AppId specifies a unique Application User Model ID (AppID) for the application or individual top-level window whose taskbar button will hold the custom JumpList built through the methods Microsoft.WindowsAPICodePack.Taskbar.JumpList class. By setting an appId for a specific window, the window will not be grouped with it's parent window/application. Instead it will have it's own taskbar button.

SetOverlayIcon ( IntPtr windowHandle, System icon, string accessibilityText ) : void

Applies an overlay to a taskbar button of the given window handle to indicate application status or a notification to the user.

SetOverlayIcon ( System icon, string accessibilityText ) : void

Applies an overlay to a taskbar button of the main application window to indicate application status or a notification to the user.

SetProgressState ( TaskbarProgressBarState state ) : void

/// Displays or updates a progress bar hosted in a taskbar button of the given WPF window /// to show the specific percentage completed of the full operation. ///

Sets the type and state of the progress indicator displayed on a taskbar button of the main application window.

SetProgressState ( TaskbarProgressBarState state, IntPtr windowHandle ) : void

Sets the type and state of the progress indicator displayed on a taskbar button of the given window handle

SetProgressValue ( int currentValue, int maximumValue ) : void

/// Applies an overlay to a taskbar button of the given WPF window to indicate application status or a notification to the user. ///

Displays or updates a progress bar hosted in a taskbar button of the main application window to show the specific percentage completed of the full operation.

SetProgressValue ( int currentValue, int maximumValue, IntPtr windowHandle ) : void

Displays or updates a progress bar hosted in a taskbar button of the given window handle to show the specific percentage completed of the full operation.

비공개 메소드들

메소드 설명
GetCurrentProcessAppId ( ) : string

Gets the current process' explicit application user model id.

SetCurrentProcessAppId ( string appId ) : void

/// Sets the application user model id for a given window ///

Sets the current process' explicit application user model id.

AppId specifies a unique Application User Model ID (AppID) for the application or individual /// top-level window whose taskbar button will hold the custom JumpList built through the methods Microsoft.WindowsAPICodePack.Taskbar.JumpList class. /// By setting an appId for a specific window, the window will not be grouped with it's parent window/application. Instead it will have it's own taskbar button.

TaskbarManager ( ) : System

메소드 상세

SetApplicationIdForSpecificWindow() 공개 메소드

Sets the application user model id for an individual window
AppId specifies a unique Application User Model ID (AppID) for the application or individual top-level window whose taskbar button will hold the custom JumpList built through the methods Microsoft.WindowsAPICodePack.Taskbar.JumpList class. By setting an appId for a specific window, the window will not be grouped with it's parent window/application. Instead it will have it's own taskbar button.
public SetApplicationIdForSpecificWindow ( IntPtr windowHandle, string appId ) : void
windowHandle System.IntPtr Window handle for the window that needs a specific application id
appId string The app id to set
리턴 void

SetOverlayIcon() 공개 메소드

Applies an overlay to a taskbar button of the given window handle to indicate application status or a notification to the user.
public SetOverlayIcon ( IntPtr windowHandle, System icon, string accessibilityText ) : void
windowHandle System.IntPtr The handle of the window whose associated taskbar button receives the overlay. This handle must belong to a calling process associated with the button's application and must be a valid HWND or the call is ignored.
icon System The overlay icon
accessibilityText string String that provides an alt text version of the information conveyed by the overlay, for accessibility purposes
리턴 void

SetOverlayIcon() 공개 메소드

Applies an overlay to a taskbar button of the main application window to indicate application status or a notification to the user.
public SetOverlayIcon ( System icon, string accessibilityText ) : void
icon System The overlay icon
accessibilityText string String that provides an alt text version of the information conveyed by the overlay, for accessibility purposes
리턴 void

SetProgressState() 공개 메소드

/// Displays or updates a progress bar hosted in a taskbar button of the given WPF window /// to show the specific percentage completed of the full operation. /// Sets the type and state of the progress indicator displayed on a taskbar button of the main application window.
public SetProgressState ( TaskbarProgressBarState state ) : void
state TaskbarProgressBarState Progress state of the progress button
리턴 void

SetProgressState() 공개 메소드

Sets the type and state of the progress indicator displayed on a taskbar button of the given window handle
public SetProgressState ( TaskbarProgressBarState state, IntPtr windowHandle ) : void
state TaskbarProgressBarState Progress state of the progress button
windowHandle System.IntPtr The handle of the window whose associated taskbar button is being used as a progress indicator. /// This window belong to a calling process associated with the button's application and must be already loaded.
리턴 void

SetProgressValue() 공개 메소드

/// Applies an overlay to a taskbar button of the given WPF window to indicate application status or a notification to the user. /// Displays or updates a progress bar hosted in a taskbar button of the main application window to show the specific percentage completed of the full operation.
public SetProgressValue ( int currentValue, int maximumValue ) : void
currentValue int An application-defined value that indicates the proportion of the operation that has been completed at the time the method is called.
maximumValue int An application-defined value that specifies the value currentValue will have when the operation is complete.
리턴 void

SetProgressValue() 공개 메소드

Displays or updates a progress bar hosted in a taskbar button of the given window handle to show the specific percentage completed of the full operation.
public SetProgressValue ( int currentValue, int maximumValue, IntPtr windowHandle ) : void
currentValue int An application-defined value that indicates the proportion of the operation that has been completed at the time the method is called.
maximumValue int An application-defined value that specifies the value currentValue will have when the operation is complete.
windowHandle System.IntPtr The handle of the window whose associated taskbar button is being used as a progress indicator. /// This window belong to a calling process associated with the button's application and must be already loaded.
리턴 void