Version

ThumbPressedAppearance Property

Gets or sets the pressed appearance of the thumb of the TrackBar.
Syntax
'Declaration
 
Public Property ThumbPressedAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ThumbPressedAppearance {get; set;}
Example
Imports Infragistics.Win.UltraWinEditors

        ' Turn off themes and set the ViewStyle to Standard. 
        ' If themes are on, themed drawing will overrides the appearance settings below.             
        Me.UltraTrackBar1.UseOsThemes = Infragistics.Win.DefaultableBoolean.False
        ' If the ViewStyle is not standard, then the ViewStyle drawing will use images for the 
        ' buttons and this will overrides the appearance settings below. 
        Me.UltraTrackBar1.ViewStyle = TrackBarViewStyle.Standard

        ' Shift the thumb up and apply an appearance and a hot tracking appearance and a pressed appearance. 
        Me.UltraTrackBar1.ThumbOffset = New Point(0, -5)
        Me.UltraTrackBar1.ThumbAppearance.BackColor = Color.Yellow
        Me.UltraTrackBar1.ThumbHotTrackAppearance.BackColor = Color.Gold
        Me.UltraTrackBar1.ThumbHotTrackAppearance.BackColor = Color.DarkGoldenrod
using Infragistics.Win.UltraWinEditors;

            // Turn off themes and set the ViewStyle to Standard. 
            // If themes are on, themed drawing will override the appearance settings below.             
            this.ultraTrackBar1.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
            // If the ViewStyle is not standard, then the ViewStyle drawing will use images for the 
            // buttons and this will override the appearance settings below. 
            this.ultraTrackBar1.ViewStyle = TrackBarViewStyle.Standard;

            // Shift the thumb up and apply an appearance and a hot tracking appearance and a pressed appearance. 
            this.ultraTrackBar1.ThumbOffset = new Point(0, -5);
            this.ultraTrackBar1.ThumbAppearance.BackColor = Color.Yellow;
            this.ultraTrackBar1.ThumbHotTrackAppearance.BackColor = Color.Gold;
            this.ultraTrackBar1.ThumbHotTrackAppearance.BackColor = Color.DarkGoldenrod;
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