Share

ProgressBarSource Class

Description

The data source of the Progress Bar widget control.

Architecturally a progress bar widget is divided into data elements, which provide the content of the progress bar, and visual elements, which provide the display and interaction between the data elements and user.

The data elements consist of the following data items:

  • the current value of the progress bar
  • the current operation string
The visual elements of the progress bar widget mainly consist of the following items:
  • a Cancel button
  • a WPF progress bar control
  • a TextBlock that displays the current value by percentage
  • a TextBlock that displays the current operation
The data elements are linked to and drive the visual elements by the concept of data binding.

The ProgressBarSource class derives from RibbonCommandItem and is responsible for maintaining the following:

  1. the visibility state of the Cancel button
  2. the current operation string
  3. the value that represents the current magnitude
  4. the minimum value of the progress bar range
  5. the maximum value of the progress bar range

Class Hierarchy

Autodesk.Windows.RibbonItem
    Autodesk.Windows.RibbonCommandItem
        Autodesk.Windows.ProgressBarSource

Visual Basic

Public Class ProgressBarSource
Inherits RibbonCommandItem

C#

public class ProgressBarSource : RibbonCommandItem;

Links

ProgressBarSource Events

Was this information helpful?