GrapeCity CalendarGrid for Windows Forms 2.0J
Body プロパティ
使用例 

GcCalendarGrid のボディ領域を取得します。
構文
Public ReadOnly Property Body As CalendarBody
public CalendarBody Body {get;}

プロパティ値

ボディ領域を表す CalendarBody オブジェクト。
使用例
次のサンプルコードは、ボディの外観をカスタマイズする方法を示します。
private void SetBodyProperty(object sender, EventArgs e)
{
    this.gcCalenderGrid.Body.Margin = new Padding(10);
    this.gcCalenderGrid.Body.Padding = new Padding(10);
    this.gcCalenderGrid.Body.BackColor = Color.OrangeRed;
    this.gcCalenderGrid.Body.PatternEffect = new CalendarPatternEffect(CalendarPatternStyle.DottedDiamond, Color.LemonChiffon);
    this.gcCalenderGrid.Body.InnerBackColor = Color.Blue;
    this.gcCalenderGrid.Body.InnerBorderStyle = BorderStyle.FixedSingle;
    this.gcCalenderGrid.Body.InnerSingleBorderColor = Color.LawnGreen;             
}
Private Sub SetBodyProperty(sender As Object, e As EventArgs)
    Me.gcCalenderGrid.Body.Margin = New Padding(10)
    Me.gcCalenderGrid.Body.Padding = New Padding(10)
    Me.gcCalenderGrid.Body.BackColor = Color.OrangeRed
    Me.gcCalenderGrid.Body.PatternEffect = New CalendarPatternEffect(CalendarPatternStyle.DottedDiamond, Color.LemonChiffon)
    Me.gcCalenderGrid.Body.InnerBackColor = Color.Blue
    Me.gcCalenderGrid.Body.InnerBorderStyle = BorderStyle.FixedSingle
    Me.gcCalenderGrid.Body.InnerSingleBorderColor = Color.LawnGreen
End Sub
参照

GcCalendarGrid クラス
GcCalendarGrid メンバ

 

 


c 2008 GrapeCity inc. All rights reserved.