Version

TrackClickAction Property

Gets or sets how the thumb will move when the user clicks in the track area.
Syntax
'Declaration
 
Public Property TrackClickAction As Infragistics.Win.UltraWinEditors.TrackClickAction
public Infragistics.Win.UltraWinEditors.TrackClickAction TrackClickAction {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

        ' Set up the track to be 10 pixels thick and draw a gradient background. 
        Me.UltraTrackBar1.TrackClickAction = TrackClickAction.UseLargeChange
        Me.UltraTrackBar1.TrackThickness = 10
        Me.UltraTrackBar1.TrackAppearance.BackColor = Color.White
        Me.UltraTrackBar1.TrackAppearance.BackColor2 = Color.Black
        Me.UltraTrackBar1.TrackAppearance.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalBump
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;

            // Set up the track to be 10 pixels thick and draw a gradient background. 
            this.ultraTrackBar1.TrackClickAction = TrackClickAction.UseLargeChange;
            this.ultraTrackBar1.TrackThickness = 10;            
            this.ultraTrackBar1.TrackAppearance.BackColor = Color.White;
            this.ultraTrackBar1.TrackAppearance.BackColor2 = Color.Black;
            this.ultraTrackBar1.TrackAppearance.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalBump;
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