PowerTools CalendarGrid for Windows Forms 1.0J
CalendarTitleLabel クラス
メンバ  使用例 

CalendarTitle にテキストを表示できるカレンダータイトルラベルを表します。
構文
Public Class CalendarTitleLabel 
   Inherits CalendarTitleComponent
public class CalendarTitleLabel : CalendarTitleComponent 
使用例
次のサンプルコードは、CalendarTitleLabel の作成方法を示します。
private void AddLabel()
{
    CalendarTitleLabel titleLabel = new CalendarTitleLabel();
    titleLabel.Name = "calendarTitleLabel1";
    titleLabel.Text = "Text";
    titleLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
    titleLabel.HorizontalAlignment = CalendarHorizontalAlignment.Right;

    this.gcCalendarGrid1.TitleHeader.Children.Add(titleLabel);
}
Private Sub AddLabel()
    Dim titleLabel As New CalendarTitleLabel()
    titleLabel.Name = "calendarTitleLabel1"
    titleLabel.Text = "Text"
    titleLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText
    titleLabel.HorizontalAlignment = CalendarHorizontalAlignment.Right

    Me.gcCalendarGrid1.TitleHeader.Children.Add(titleLabel)
End Sub
継承階層

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         GrapeCity.Win.CalendarGrid.CalendarTitleComponent
            GrapeCity.Win.CalendarGrid.CalendarTitleLabel

参照

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

 

 


© 2014 GrapeCity inc. All rights reserved.