Version

ScrollChange Property

Determines how many months are scrolled when clicking on the scroll buttons.
Syntax
'Declaration
 
Public Property ScrollChange As Integer
public int ScrollChange {get; set;}
Example
This example configures the control so that it scrolls by one year when the scroll buttons are clicked, and changes the appearance of the scroll buttons to provide a visual cue that their behavior is non-standard.

Private Sub SetScrollingIncrementToOneYear()

    '	Set the ScrollChange property to the number of months in a year
    Me.ultraMonthViewMulti1.ScrollChange = Me.ultraMonthViewMulti1.CalendarInfo.MonthsOfYear.Count

    '	Set the ForeColor property of the ScrollButtonAppearance to red,
    '	to bring it to the end user's attention
    Me.ultraMonthViewMulti1.ScrollButtonAppearance.ForeColor = Color.Red

End Sub
private void SetScrollingIncrementToOneYear()
{

	//	Set the ScrollChange property to the number of months in a year
	this.ultraMonthViewMulti1.ScrollChange = this.ultraMonthViewMulti1.CalendarInfo.MonthsOfYear.Count;

	//	Set the ForeColor property of the ScrollButtonAppearance to red,
	//	to bring it to the end user's attention
	this.ultraMonthViewMulti1.ScrollButtonAppearance.ForeColor = Color.Red;

}
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