Version

MaxValue Property (UltraTrackBar)

Gets or sets the maximum allowable value of the control.
Syntax
'Declaration
 
Public Property MaxValue As Integer
public int MaxValue {get; set;}
Example
Imports Infragistics.Win.UltraWinEditors

        ' Set a range from 0 to 100 and start in the middle. 
        Me.UltraTrackBar1.MinValue = 0
        Me.UltraTrackBar1.MaxValue = 100
        Me.UltraTrackBar1.Value = 50

        ' Set the small and large change to 5 and 10. 
        Me.UltraTrackBar1.SmallChange = 5
        Me.UltraTrackBar1.LargeChange = 10
using Infragistics.Win.UltraWinEditors;


            // Set a range from 0 to 100 and start in the middle. 
            this.ultraTrackBar1.MinValue = 0;
            this.ultraTrackBar1.MaxValue = 100;
            this.ultraTrackBar1.Value = 50;

            // Set the small and large change to 5 and 10. 
            this.ultraTrackBar1.SmallChange = 5;
            this.ultraTrackBar1.LargeChange = 10;
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