Свойство | Тип | Описание | |
---|---|---|---|
GetCurrentProcessAppId | string | ||
SetCurrentProcessAppId | void | ||
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. |
|
SetOverlayIcon ( |
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, |
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, |
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 |
public SetApplicationIdForSpecificWindow ( |
||
windowHandle | Window handle for the window that needs a specific application id | |
appId | string | The app id to set |
Результат | void |
public SetOverlayIcon ( |
||
windowHandle | 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 |
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 |
public SetProgressState ( TaskbarProgressBarState state ) : void | ||
state | TaskbarProgressBarState | Progress state of the progress button |
Результат | void |
public SetProgressState ( TaskbarProgressBarState state, |
||
state | TaskbarProgressBarState | Progress state of the progress button |
windowHandle | 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 |
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 |
public SetProgressValue ( int currentValue, int maximumValue, |
||
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 | 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 |