Version

AllowWeekSelection Property

Determines whether the clicking in the pre-week area will select the days in that week.
Syntax
'Declaration
 
Public Property AllowWeekSelection As Boolean
public bool AllowWeekSelection {get; set;}
Remarks

The pre-week area is the area immediately to the left of the Infragistics.Win.UltraWinSchedule.MonthViewMulti.WeekUIElement where week numbers will be displayed if the WeekNumbersVisible is set to true.

The pre-week area will not be displayed if AllowWeekSelection and WeekNumbersVisible are both false.

Example
This example enables/disables the control's week selection feature.

Private Sub EnableWeekSelection(ByVal enable As Boolean)

    If (Me.ultraMonthViewMulti1.AllowWeekSelection <> enable) Then
        Me.ultraMonthViewMulti1.AllowWeekSelection = enable
    End If

End Sub
private void EnableWeekSelection( bool enable )
{

	if ( this.ultraMonthViewMulti1.AllowWeekSelection != enable )
		this.ultraMonthViewMulti1.AllowWeekSelection = enable;

}
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