Version

WeeklyLayoutStyle Enumeration

Enumeration of the various layouts available for a Weekly style UltraSchedulePrintDocument.PrintStyle.
Syntax
'Declaration
 
Public Enum WeeklyLayoutStyle 
   Inherits System.Enum
public enum WeeklyLayoutStyle : System.Enum 
Members
MemberDescription
DayViewThe dates are arranged from left to right with the activity arranged in their respective time slots. The appointments rendered are limited to those within the UltraSchedulePrintDocument.StartTime and UltraSchedulePrintDocument.EndTime.
MonthViewThe dates are arranged as they would appear in a single week of the UltraMonthViewSingle - arranged from left to right with the activity arranged in order from top to bottom.
WeekViewThe dates are arranged as they would appear in the UltraWeekView control; assuming all days are visible, the first three days appear in the first column and the last four in the second column arrange from top to bottom within each column.
Example
The following example demonstrates how to print a weekly print style.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule

        'print one or more weeks
        Me.UltraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Weekly

        'the weekly layout style determines how the week is displayed.
        'by default, the week is displayed using an UltraWeekView and 
        'as such days are arranged into 2 columns. there is also the
        'option of arranging the week with a dayview display the appointments
        'in the respective timeslots. the last option is to arrange
        'the week as an UltraMonthViewSingle that displays only 1 week
        'Me.UltraSchedulePrintDocument1.WeeklyLayoutStyle = WeeklyLayoutStyle.DayView
        'Me.UltraSchedulePrintDocument1.WeeklyLayoutStyle = WeeklyLayoutStyle.MonthView
        Me.UltraSchedulePrintDocument1.WeeklyLayoutStyle = WeeklyLayoutStyle.WeekView

        'the week may be split across 2 pages
        Me.UltraSchedulePrintDocument1.MaximumPagesPerWeek = 2

        'the date header area is the area above the calendar that
        'describes the range being printed. it may optionally
        'be turned off
        Me.UltraSchedulePrintDocument1.IncludeDateHeaderArea = False
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;

			//print one or more weeks
			this.ultraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Weekly;

			//the weekly layout style determines how the week is displayed.
			//by default, the week is displayed using an UltraWeekView and 
			//as such days are arranged into 2 columns. there is also the
			//option of arranging the week with a dayview display the appointments
			//in the respective timeslots. the last option is to arrange
			//the week as an UltraMonthViewSingle that displays only 1 week
			//this.ultraSchedulePrintDocument1.WeeklyLayoutStyle = WeeklyLayoutStyle.DayView
			//this.ultraSchedulePrintDocument1.WeeklyLayoutStyle = WeeklyLayoutStyle.MonthView
			this.ultraSchedulePrintDocument1.WeeklyLayoutStyle = WeeklyLayoutStyle.WeekView;

			//the week may be split across 2 pages
			this.ultraSchedulePrintDocument1.MaximumPagesPerWeek = 2;

			//the date header area is the area above the calendar that
			//describes the range being printed. it may optionally
			//be turned off
			this.ultraSchedulePrintDocument1.IncludeDateHeaderArea = false;
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