Version

AllDayEventAreaScrolling Property

Returns or sets a value which determines whether vertical scrolling is enabled within the all-day event area.
Syntax
'Declaration
 
Public Property AllDayEventAreaScrolling As AllDayEventAreaScrolling
public AllDayEventAreaScrolling AllDayEventAreaScrolling {get; set;}
Remarks

By default, UltraDayView displays up to 16 rows of all-day events, automatically sizing the area in which they are displayed as required.

Scrolling can be enabled in the all-day event area by setting the AllDayEventAreaScrolling property so that scroll buttons and/or a vertical scrollbar is displayed. When scrolling is enabled, the height of the all-day event area is automatically calculated to be approximately one-half the height of the control or less depending on the number of all-day events to be displayed.

The maximum amount of vertical space used by the all-day event area can be controlled by the AllDayEventAreaPreferredMaxHeight property.

When the property is set to display a vertical scrollbar, the scrollbar is always present on the right side of the all-day event area, immediately above the scrollbar that is displayed for the time slot area. The all-day event area scrollbar is enabled and disabled as required, as the height of the control changes.

Similarly, when the property is set to display a scroll buttons, the buttons are shown and hidden as required, based on whether any activity remains out of view. Button visibility is updated automatically as the scroll position and the height of the control changes.

The vertical scrollbar's enabled state is based on all-day event visibility for all visible days and owners. The scroll buttons, however, also act as more activity indicators in that their visibility also takes whether there are more appointments above/below the viewable area into account. If one owner has an appointment above or below the currently viewable area but another owner does not, the scroll buttons take this into account, and the button is displayed only for the owner for whom there is activity. Similarly, if one visible day has hidden activity but another does not, the scroll button is displayed only for the one that does.

Note that the all-day event area can be hidden altogether by setting the AllowAllDayEvents property of the associated UltraCalendarInfo.

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