• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpDialogs
      • SharpDialogFilter
      • SharpDialogHelpers
      • SharpFileOpenDialog
      • SharpFileSaveDialog
      • SharpFolderBrowserDialog
      • SharpInputBox
      • SharpProgressDialog
      • SharpTaskbarProgress
      • SharpTaskbarStates
    • SharpDialogs.Wpf
      • SharpFileOpenDialogWpf
      • SharpFileSaveDialogWpf
      • SharpFolderBrowserDialogWpf
      • SharpProgressDialogWpf
      • SharpTaskbarProgressWpf
    • SharpWpfAboutBox
      • SharpAboutBox
      • SharpAppProperties

    Class SharpTaskbarProgressWpf

    Exposes methods that control the progress indicator of the taskbar.

    Inheritance
    object
    SharpTaskbarProgressWpf
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SharpDialogs.Wpf
    Assembly: SharpDialogs.Wpf.dll
    Syntax
    public static class SharpTaskbarProgressWpf

    Methods

    | Edit this page View Source

    SetState(Window?, SharpTaskbarStates)

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

    Declaration
    public static void SetState(Window? owner, SharpTaskbarStates state)
    Parameters
    Type Name Description
    Window owner

    The window in which the progress of an operation is being shown. This window's associated taskbar button will display the progress bar.

    SharpTaskbarStates state

    Control the current state of the progress button.

    | Edit this page View Source

    SetValue(Window?, ulong, ulong)

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

    Declaration
    public static void SetValue(Window? owner, ulong progress, ulong max)
    Parameters
    Type Name Description
    Window owner

    The window whose associated taskbar button is being used as a progress indicator.

    ulong progress

    A value that indicates the proportion of the operation that has been completed at the time the method is called.

    ulong max

    A value that specifies the value ullCompleted will have when the operation is complete.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright Jérémy Ansel (c) 2025