Version

SpinButtonIncrementValue Property (UltraCalendarCombo)

Determines the number of SpinButtonIncrement units applied to the value when pressing the spin buttons.
Syntax
'Declaration
 
Public Property SpinButtonIncrementValue As Integer
public int SpinButtonIncrementValue {get; set;}
Remarks

When clicking the up spin arrow or using the up arrow key, a positive number of the SpinButtonIncrementValues are applied. When clicking the down spin button or using the down arrow key when the control is not dropped down will apply a negative amount of those units.

Example
This example configures the control's spin buttons to increment or decrement the selected date by 1 week.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinSchedule.CalendarCombo

    Private Sub SetupSpinButtons()

        '	Ensure that the spin buttons are visible
        Me.ultraCalendarCombo1.SpinButtonsVisible = True

        '	Only increment by one unit with each click
        Me.ultraCalendarCombo1.SpinButtonIncrementValue = 1

        '	Make the increment unit weeks
        Me.ultraCalendarCombo1.SpinButtonIncrement = SpinIncrementUnit.Weeks

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinSchedule.CalendarCombo;

		private void SetupSpinButtons()
		{

			//--------------------------------------------------------------------------------
			//	SpinButtonIncrement
			//	SpinButtonIncrementValue
			//	SpinButtonsVisible
			//
			//	This example configures the control's spin buttons to increment or decrement the 
			//	selected date by 1 week.
			//--------------------------------------------------------------------------------

			//	Ensure that the spin buttons are visible
			this.ultraCalendarCombo1.SpinButtonsVisible = true;

			//	Only increment by one unit with each click
			this.ultraCalendarCombo1.SpinButtonIncrementValue = 1;

			//	Make the increment unit weeks
			this.ultraCalendarCombo1.SpinButtonIncrement = SpinIncrementUnit.Weeks;

		}
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