GrapeCity CalendarGrid for Windows Forms 2.0J
CalendarNavigationButton クラス
メンバ  使用例 

GcCalendarGrid を移動できるナビゲーションボタンクラスを表します。
構文
Public Class CalendarNavigationButton 
   Inherits System.ComponentModel.Component
public class CalendarNavigationButton : System.ComponentModel.Component 
使用例
次のサンプルコードは、CalendarNavigationButton の作成方法を示します。
private void AddBottonRightButtons()
{
    CalendarNavigationButton calendarNavigationButton1 = new CalendarNavigationButton();
    calendarNavigationButton1.ButtonBehavior = GrapeCity.Win.CalendarGrid.CalendarTitleButtonBehavior.Next;
    calendarNavigationButton1.DateFormat = "{LongDate}";
    calendarNavigationButton1.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption;
    calendarNavigationButton1.FlatAppearance.BorderSize = 2;
    calendarNavigationButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
    calendarNavigationButton1.Text = "";
    calendarNavigationButton1.ToolTipText = "{0}";
    this.gcCalendarGrid1.NavigationBar.BottomRightButtons.Add(calendarNavigationButton1);            
}
Private Sub AddBottonRightButtons()
    Dim calendarNavigationButton1 As New CalendarNavigationButton()
    calendarNavigationButton1.ButtonBehavior = GrapeCity.Win.CalendarGrid.CalendarTitleButtonBehavior.[Next]
    calendarNavigationButton1.DateFormat = "{LongDate}"
    calendarNavigationButton1.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption
    calendarNavigationButton1.FlatAppearance.BorderSize = 2
    calendarNavigationButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
    calendarNavigationButton1.Text = ""
    calendarNavigationButton1.ToolTipText = "{0}"
    Me.gcCalendarGrid1.NavigationBar.BottomRightButtons.Add(calendarNavigationButton1)
End Sub
継承階層

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         GrapeCity.Win.CalendarGrid.CalendarNavigationButton

参照

CalendarNavigationButton メンバ
GrapeCity.Win.CalendarGrid 名前空間

 

 


c 2008 GrapeCity inc. All rights reserved.