Intersoft ClientUI Documentation
UXProgressBar Class
Members 



Provides a lightweight control that indicates the progress of an operation.
Object Model
UXProgressBar ClassISFramework Class
Syntax
<TemplateVisualStateAttribute(Name="Highlight", GroupName="HighlightStates")>
<TemplatePartAttribute(Name="ProgressBarRootGrid", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="ProgressBarIndicator", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="IndeterminateSolidFill", Type=System.Windows.Shapes.Rectangle)>
<TemplatePartAttribute(Name="IndeterminateGradientFill", Type=System.Windows.Shapes.Rectangle)>
<TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Shapes.Rectangle)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Indeterminate")>
<TemplateVisualStateAttribute(GroupName="HighlightStates", Name="Normal")>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="ProgressBarTrack", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="ProgressBarGradient", Type=System.Windows.Shapes.Rectangle)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Determinate")>
<DescriptionAttribute("Provides a lightweight control that indicates the progress of an operation.")>
<TemplatePartAttribute(Name="ProgressText", Type=System.Windows.Controls.TextBlock)>
<TemplatePartAttribute(Name="DeterminateRoot", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="IndeterminateRoot", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="HighlightElement", Type=System.Windows.Controls.Border)>
Public Class UXProgressBar 
   Inherits Intersoft.Client.Framework.ISRangeControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing 
Dim instance As UXProgressBar
[TemplateVisualStateAttribute(Name="Highlight", GroupName="HighlightStates")]
[TemplatePartAttribute(Name="ProgressBarRootGrid", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ProgressBarIndicator", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="IndeterminateSolidFill", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="IndeterminateGradientFill", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Shapes.Rectangle)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Indeterminate")]
[TemplateVisualStateAttribute(GroupName="HighlightStates", Name="Normal")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ProgressBarTrack", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ProgressBarGradient", Type=System.Windows.Shapes.Rectangle)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Determinate")]
[DescriptionAttribute("Provides a lightweight control that indicates the progress of an operation.")]
[TemplatePartAttribute(Name="ProgressText", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="DeterminateRoot", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="IndeterminateRoot", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HighlightElement", Type=System.Windows.Controls.Border)]
public class UXProgressBar : Intersoft.Client.Framework.ISRangeControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
[TemplateVisualStateAttribute(Name="Highlight", GroupName="HighlightStates")]
[TemplatePartAttribute(Name="ProgressBarRootGrid", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ProgressBarIndicator", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="IndeterminateSolidFill", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="IndeterminateGradientFill", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Shapes.Rectangle)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Indeterminate")]
[TemplateVisualStateAttribute(GroupName="HighlightStates", Name="Normal")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ProgressBarTrack", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ProgressBarGradient", Type=System.Windows.Shapes.Rectangle)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Determinate")]
[DescriptionAttribute("Provides a lightweight control that indicates the progress of an operation.")]
[TemplatePartAttribute(Name="ProgressText", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="DeterminateRoot", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="IndeterminateRoot", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HighlightElement", Type=System.Windows.Controls.Border)]
public ref class UXProgressBar : public Intersoft.Client.Framework.ISRangeControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
Remarks

UXProgressBar is used to indicate a progress based on the specified Value. Note that when you resize the control at runtime, for example due to window resize, the progress bar automatically adjusts the size relative to its dimension.

Changing the Value property also affects the progress text. You can format the progress text through the Text property. The {0} placeholder will be replaced with the actual progress value.

XAML
Copy Code
<Intersoft:UXProgressBar Height="20" Width="150" Text="{}{0} %" Value="50"/>

Some progress is indeterminate, the best way to give indication is using indeterminate mode by setting the IsIndeterminate property to true.

XAML
Copy Code
<Intersoft:UXProgressBar Height="20" Width="150" IsIndeterminate="True"/>
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.Primitives.RangeBase
                  Intersoft.Client.Framework.ISRangeControl
                     Intersoft.Client.UI.Controls.UXProgressBar

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXProgressBar Members
Intersoft.Client.UI.Controls Namespace

Concepts

UXProgressBar

Send Feedback