Version

AllowCalendarClosing Property

Specifies whether the user is allowed to close calendars via the UI.
Syntax
'Declaration
 
Public Property AllowCalendarClosing As Boolean
public bool AllowCalendarClosing {get; set;}
Remarks

The XamSchedule view controls optionally display a close button in the Infragistics.Controls.Schedules.Primitives.CalendarHeader that allows the end user to close a ResourceCalendar. The AllowCalendarClosing property can be used to prevent the end user from closing/hiding a calendar.

The ShowCalendarCloseButton property is used to determine if the close button is displayed within the Infragistics.Controls.Schedules.Primitives.CalendarHeader. By default that property is set to null. When left to this default, the visibility of the close button is resolved as follows. If the AllowCalendarClosing is false then the button will be hidden. Otherwise the default visibility is up to the control. For example, in XamScheduleView, the close button is not displayed by default but for XamDayView and XamMonthView it will be displayed. This mimics the default ui displayed in Microsoft Outlook.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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