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; }