バージョン

WeeklyLayoutStyle 列挙体

Weekly スタイルの UltraSchedulePrintDocument.PrintStyle で使用できる各種レイアウトの列挙体。
シンタックス
'宣言
 
Public Enum WeeklyLayoutStyle 
   Inherits System.Enum
public enum WeeklyLayoutStyle : System.Enum 
メンバ
メンバ解説
DayView左から右に日付が配置され、各日付の対応するスロットにアクティビティが表示されます。表示される予定は、UltraSchedulePrintDocument.StartTimeUltraSchedulePrintDocument.EndTime の間にあるものに限られます。
MonthViewUltraMonthViewSingle の1週間と同じように日付が配置されます。左から右に日付が配置され、それぞれの日のアクティビティが上から下に並びます。
WeekViewUltraWeekView コントロールと同じように日付が配置されます。すべての日が表示される場合は、1番目の列に最初の3日、2番目の列に残りの4日が表示され、各列内では上から下に日が並びます。
使用例
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;
参照