Version

ShowIncrementButtons Property

Gets or sets whether the +/- buttons are visible.
Syntax
'Declaration
 
Public Property ShowIncrementButtons As DefaultableBoolean
public DefaultableBoolean ShowIncrementButtons {get; set;}
Example
Imports Infragistics.Win.UltraWinEditors

        ' Show the min, max, increment, and decrement buttons. 
        Me.UltraTrackBar1.ButtonSettings.ShowIncrementButtons = Infragistics.Win.DefaultableBoolean.True
        Me.UltraTrackBar1.ButtonSettings.ShowMinMaxButtons = Infragistics.Win.DefaultableBoolean.True

        ' Set up the button location, size, and spacing. 
        Me.UltraTrackBar1.ButtonSettings.ButtonLocation = TrackBarButtonLocation.Split
        Me.UltraTrackBar1.ButtonSettings.ButtonSize = New Size(10, 25)
        Me.UltraTrackBar1.ButtonSettings.ButtonSpacing = 5

        ' 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

        ' Apply a BackColor to each of the four buttons.
        Me.UltraTrackBar1.ButtonSettings.DecrementButtonAppearance.BackColor = Color.Pink
        Me.UltraTrackBar1.ButtonSettings.IncrementButtonAppearance.BackColor = Color.LightGreen
        Me.UltraTrackBar1.ButtonSettings.MinButtonAppearance.BackColor = Color.Red
        Me.UltraTrackBar1.ButtonSettings.MaxButtonAppearance.BackColor = Color.Green

        ' Apply a BackColor to the HotTracking appearance of each of the four buttons. 
        Me.UltraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.LightCoral
        Me.UltraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.Chartreuse
        Me.UltraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.DarkRed
        Me.UltraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.DarkGreen

        ' Apply a BackColor to the Pressed appearance of each of the four buttons. 
        Me.UltraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.Red
        Me.UltraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.GreenYellow
        Me.UltraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.Brown
        Me.UltraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.SeaGreen
using Infragistics.Win.UltraWinEditors;


            // Show the min, max, increment, and decrement buttons. 
            this.ultraTrackBar1.ButtonSettings.ShowIncrementButtons = Infragistics.Win.DefaultableBoolean.True;
            this.ultraTrackBar1.ButtonSettings.ShowMinMaxButtons = Infragistics.Win.DefaultableBoolean.True;

            // Set up the button location, size, and spacing. 
            this.ultraTrackBar1.ButtonSettings.ButtonLocation = TrackBarButtonLocation.Split;
            this.ultraTrackBar1.ButtonSettings.ButtonSize = new Size(10, 25);
            this.ultraTrackBar1.ButtonSettings.ButtonSpacing = 5;

            // 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;

            // Apply a BackColor to each of the four buttons.
            this.ultraTrackBar1.ButtonSettings.DecrementButtonAppearance.BackColor = Color.Pink;
            this.ultraTrackBar1.ButtonSettings.IncrementButtonAppearance.BackColor = Color.LightGreen;
            this.ultraTrackBar1.ButtonSettings.MinButtonAppearance.BackColor = Color.Red;
            this.ultraTrackBar1.ButtonSettings.MaxButtonAppearance.BackColor = Color.Green;

            // Apply a BackColor to the HotTracking appearance of each of the four buttons. 
            this.ultraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.LightCoral;
            this.ultraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.Chartreuse;
            this.ultraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.DarkRed;
            this.ultraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.DarkGreen;

            // Apply a BackColor to the Pressed appearance of each of the four buttons. 
            this.ultraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.Coral;
            this.ultraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.GreenYellow;
            this.ultraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.Brown;
            this.ultraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.SeaGreen;
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