Version

TimeRangeAppearancesCollection Class

Provides a repository for TimeRange instances.
Syntax
'Declaration
 
Public Class TimeRangeAppearancesCollection 
   Inherits Infragistics.Shared.SubObjectsCollectionBase
public class TimeRangeAppearancesCollection : Infragistics.Shared.SubObjectsCollectionBase 
Remarks

The contents of this collection are always maintained in chronological order, i.e., when a new instance is added, the collection is sorted by the value of the associated TimeRange's StartTime property.

Unlike the TimeRangesCollection class, this class supports overlapping time ranges, i.e., instances whose time ranges intersect are allowed to coexist in the collection. In the case where a TimeSlot intersects with more than one of the members of this collection, the one which occurs chronologically earlier takes precedence. For example, if two members are added to this collection, one for 9AM - 10AM and another for 9:30AM to 10:30AM, the 9:30AM TimeSlot will resolve its appearance through the 9AM - 10AM instance first. If, for example, the BackColor property was set on both appearances, the BackColor for the second instance would not be applied, since the first instance had already resolved it.

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