GrapeCity.Win.CalendarGrid.v10 アセンブリ > GrapeCity.Win.CalendarGrid 名前空間 > CalendarGridLayoutSettings クラス : PerformHorizontalAutoFit メソッド |
void EditingDemo_Load(object sender, EventArgs e) { for (int i = 0; i < this.gcCalendarGrid.LayoutSettings.HorizontalLayoutInfo.Count; i++) { this.gcCalendarGrid.LayoutSettings.PerformHorizontalAutoFit(i); } }
Private Sub EditingDemo_Load(sender As Object, e As EventArgs) For i As Integer = 0 To Me.gcCalendarGrid.LayoutSettings.HorizontalLayoutInfo.Count - 1 Me.gcCalendarGrid.LayoutSettings.PerformHorizontalAutoFit(i) Next End Sub