Determines the number of
SpinButtonIncrement units applied to the value when pressing the spin buttons.
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
'Declaration
Public Property SpinButtonIncrementValue As Integer
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;
}
'Declaration
Public Property SpinButtonIncrementValue As Integer
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