バージョン

WeeklyLayoutStyle プロパティ

週間印刷スタイルで日をどのように配置するかを取得または設定します。
シンタックス
'宣言
 
Public Property WeeklyLayoutStyle As WeeklyLayoutStyle
public WeeklyLayoutStyle WeeklyLayoutStyle {get; set;}
使用例
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;
参照