Version

Appearance Property (UltraActivityIndicator)

Default appearance for the control.
Syntax
'Declaration
 
Public Property Appearance As AppearanceBase
public AppearanceBase Appearance {get; set;}
Remarks
This property is not honored when OS theming is enabled.
Example
The following code demonstrates setting some of the properties specific to the WinActivityIndicator.

Private Sub InitializeUltraActivityIndicator()
    ' Set the ViewStyle to change the style of the control 
    Me.ultraActivityIndicator1.ViewStyle = Infragistics.Win.UltraActivityIndicator.ActivityIndicatorViewStyle.Aero

    ' Set the AnimationSpeed to speed up the animation 
    Me.ultraActivityIndicator1.AnimationSpeed = 50

    ' Set the BorderStyle 
    Me.ultraActivityIndicator1.BorderStyle = Infragistics.Win.UIElementBorderStyle.WindowsVista

    ' Set the MarqueeAnimationStyle so the animation bounces back and forth. 
    Me.ultraActivityIndicator1.MarqueeAnimationStyle = Infragistics.Win.UltraActivityIndicator.MarqueeAnimationStyle.BounceBack

    ' Set the MarqueeMarkerWidth to increase the size of the marker. 
    Me.ultraActivityIndicator1.MarqueeMarkerWidth = 150

    ' Modify the MarqueeFillAppearance to change the appearance of the marquee marker. 
    Me.ultraActivityIndicator1.MarqueeFillAppearance.BackColor = Color.DarkRed

    ' Modify the Appearance to change the general appearance of the control. 
    Me.ultraActivityIndicator1.Appearance.BackColor = Color.DarkSlateGray
    Me.ultraActivityIndicator1.Appearance.BorderColor = Color.Black

End Sub
private void InitializeUltraActivityIndicator()
{
    // Set the ViewStyle to change the style of the control
    this.ultraActivityIndicator1.ViewStyle = Infragistics.Win.UltraActivityIndicator.ActivityIndicatorViewStyle.Aero;

    // Set the AnimationSpeed to speed up the animation
    this.ultraActivityIndicator1.AnimationSpeed = 50;

    // Set the BorderStyle
    this.ultraActivityIndicator1.BorderStyle = Infragistics.Win.UIElementBorderStyle.WindowsVista;

    // Set the MarqueeAnimationStyle so the animation bounces back and forth.
    this.ultraActivityIndicator1.MarqueeAnimationStyle = Infragistics.Win.UltraActivityIndicator.MarqueeAnimationStyle.BounceBack;

    // Set the MarqueeMarkerWidth to increase the size of the marker.
    this.ultraActivityIndicator1.MarqueeMarkerWidth = 150;

    // Modify the MarqueeFillAppearance to change the appearance of the marquee marker.
    this.ultraActivityIndicator1.MarqueeFillAppearance.BackColor = Color.DarkRed;

    // Modify the Appearance to change the general appearance of the control. 
    this.ultraActivityIndicator1.Appearance.BackColor = Color.DarkSlateGray;
    this.ultraActivityIndicator1.Appearance.BorderColor = Color.Black;

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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