Version

SelectTypeDay Property

Returns the selection type used for selecting days.
Syntax
'Declaration
 
Public Property SelectTypeDay As SelectType
public SelectType SelectTypeDay {get; set;}
Remarks

SelectTypeDay determines how Day objects may be selected via code and through the UltraSchedule controls that are attached to the UltraCalendarInfo component.

The property cannot be changed during the BeforeSelectedDateRangeChange event.

Example
This example uses the SelectTypeDay property to disallow multiple selection of days.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports System.IO
Imports System.Globalization

    Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click

        '	Set SelectTypeDay to Single to ensure that only one day
        '	can be selected at any given time
        Me.ultraCalendarInfo1.SelectTypeDay = SelectType.Single

    End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using System.IO;
using System.Globalization;

		private void button1_Click(object sender, System.EventArgs e)
		{
		
			//	Set SelectTypeDay to Single to ensure that only one day
			//	can be selected at any given time
			this.ultraCalendarInfo1.SelectTypeDay = SelectType.Single;
		
		}
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