バージョン

MaximumOwnersInView プロパティ (UltraMonthViewSingleBase)

コントロールによって表示されるオーナーの最大数を取得または設定します。
シンタックス
'宣言
 
Public Property MaximumOwnersInView As Integer
public int MaximumOwnersInView {get; set;}
使用例
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        '	Clear the Owners collection
        Me.ultraWeekView1.CalendarInfo.Owners.Clear()

        '	Hide the unassigned owner
        Me.ultraWeekView1.CalendarInfo.Owners.UnassignedOwner.Visible = False

        '	Add some owners
        Me.ultraWeekView1.CalendarInfo.Owners.Add("arthur_fonzarelli", "Fonzie")
        Me.ultraWeekView1.CalendarInfo.Owners.Add("richard_cunningham", "Richie Cunningham")
        Me.ultraWeekView1.CalendarInfo.Owners.Add("warren_weber", "Potsie")
        Me.ultraWeekView1.CalendarInfo.Owners.Add("ralph_malph", "Ralph Malph")

        '	Set the OwnerDisplayStyle property to 'Separate' so that
        '	owners are displayed separately
        Me.ultraWeekView1.OwnerDisplayStyle = OwnerDisplayStyle.Separate

        '	Set the OwnerNavigationStyle property to Scrollbar so the end user
        '	can navigate through owners with a horizontal scrollbar
        Me.ultraWeekView1.OwnerNavigationStyle = OwnerNavigationStyle.Scrollbar

        '	Set the MaximumOwnersInView property to 2 so the end user can view
        '	up to 2 owners at a time
        Me.ultraWeekView1.MaximumOwnersInView = 2

        '	Set the ShowOwnerHeader property to true so that headers
        '	are displayed for the owners
        Me.ultraWeekView1.ShowOwnerHeader = DefaultableBoolean.True

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using System.Diagnostics;

		private void button1_Click(object sender, System.EventArgs e)
		{
			//	Clear the Owners collection
			this.ultraWeekView1.CalendarInfo.Owners.Clear();

			//	Hide the unassigned owner
			this.ultraWeekView1.CalendarInfo.Owners.UnassignedOwner.Visible = false;

			//	Add some owners
			this.ultraWeekView1.CalendarInfo.Owners.Add( "arthur_fonzarelli", "Fonzie" );
			this.ultraWeekView1.CalendarInfo.Owners.Add( "richard_cunningham", "Richie Cunningham" );
			this.ultraWeekView1.CalendarInfo.Owners.Add( "warren_weber", "Potsie" );
			this.ultraWeekView1.CalendarInfo.Owners.Add( "ralph_malph", "Ralph Malph" );

			//	Set the OwnerDisplayStyle property to 'Separate' so that
			//	owners are displayed separately
			this.ultraWeekView1.OwnerDisplayStyle = OwnerDisplayStyle.Separate;

			//	Set the OwnerNavigationStyle property to Scrollbar so the end user
			//	can navigate through owners with a horizontal scrollbar
			this.ultraWeekView1.OwnerNavigationStyle = OwnerNavigationStyle.Scrollbar;

			//	Set the MaximumOwnersInView property to 2 so the end user can view
			//	up to 2 owners at a time
			this.ultraWeekView1.MaximumOwnersInView = 2;

			//	Set the ShowOwnerHeader property to true so that headers
			//	are displayed for the owners
			this.ultraWeekView1.ShowOwnerHeader = DefaultableBoolean.True;
		}
参照