Version

InitializeTimelineView Event

Invoked when an UltraTimelineView control is created for the print operation.
Syntax
'Declaration
 
Public Event InitializeTimelineView As InitializeTimelineViewEventHandler
public event InitializeTimelineViewEventHandler InitializeTimelineView
Event Data

The event handler receives an argument of type InitializeTimelineViewEventArgs containing data related to this event. The following InitializeTimelineViewEventArgs properties provide information specific to this event.

PropertyDescription
AdjustedPrimaryInterval Returns a DateTimeInterval which will be assigned to the PrimaryInterval property of the control used to format the printed output, if an automatic adjustment was necessary and the AllowAdjustmentOfPrimaryInterval property was not set to false.
AllowAdjustmentOfPrimaryInterval Specifies whether automatic adjustment of the PrimaryInterval to better fit the range being printed should be allowed.
Control Returns the Infragistics.Win.UltraWinSchedule.UltraTimelineView control that will be used for the print operation.
Remarks

The control's PrimaryInterval determines the level of detail of the printed output; by default, the PrimaryInterval generates cycles that are fifteen minutes in duration. If the range of time spanned by the date/time range to be printed is relatively large as compared to the duration of the cycles generated by the PrimaryInterval, the control will automatically increase the duration of the primary interval so as to prevent the user from inadvertantly generating large numbers of pages. The AllowAdjustmentOfPrimaryInterval property of the event args provides a way to prevent this automatic adjustment.

The UltraSchedulePrintDocument creates instances of the various schedule controls in order to render the calendar information to the printer. When the control is created, it is initialized based on the respective 'Template' property (e.g. TemplateTimelineView) and then the associated initialize event (e.g. InitializeTimelineView) is invoked to allow any further customizations to the control.

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