GrapeCity.Win.CalendarGrid.v20 アセンブリ > GrapeCity.Win.CalendarGrid 名前空間 : CalendarTitleLabel クラス |
Public Class CalendarTitleLabel Inherits CalendarTitleComponent
public class CalendarTitleLabel : CalendarTitleComponent
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