If AllowColumnResizing is true then this setting is ignored after the user performs the first resize operation.
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Set the PreferredInViewColumnCount and PreferredInViewGroupCount ' both to 1 so that only one column is displayed at a time. Me.UltraDayView1.PreferredInViewColumnCount = 1 Me.UltraDayView1.PreferredInViewGroupCount = 1 End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.Diagnostics; private void button1_Click(object sender, System.EventArgs e) { // Set the PreferredInViewColumnCount and PreferredInViewGroupCount // both to 1 so that only one column is displayed at a time. this.ultraDayView1.PreferredInViewColumnCount = 1; this.ultraDayView1.PreferredInViewGroupCount = 1; }
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