GrapeCity SPREAD for Windows Forms 11.0J
BorderStyle プロパティ (DropDownCalendar)


ドロップダウンカレンダーの境界線スタイルを取得または設定します。
構文
'Declaration
 
Public Property BorderStyle As BorderStyle
'使用法
 
Dim instance As DropDownCalendar
Dim value As BorderStyle
 
instance.BorderStyle = value
 
value = instance.BorderStyle
public BorderStyle BorderStyle {get; set;}

プロパティ値

境界線スタイルを示すBorderStyle列挙体。
デフォルト値はSystem.Windows.Forms.BorderStyle.FixedSingleです。
解説
BorderStyle プロパティを使用すると、既定の3次元コントロールに加えて、境界線のないフラットスタイルのコントロールを作成できます。
次のサンプルコードは、BorderStyleプロパティを設定します。
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.DropDownCalendar.BackColor = Color.Aquamarine;
inputcell.DropDownCalendar.TodayMarkColor = Color.Firebrick;
inputcell.DropDownCalendar.BorderStyle = BorderStyle.FixedSingle;
inputcell.DropDownCalendar.ShowTodayMark = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
fpSpread1.Sheets[0].Columns[0].Width = 100;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.DropDownCalendar.BackColor = Color.Aquamarine
inputcell.DropDownCalendar.TodayMarkColor = Color.Firebrick
inputcell.DropDownCalendar.BorderStyle = BorderStyle.FixedSingle
inputcell.DropDownCalendar.ShowTodayMark = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
FpSpread1.Sheets(0).Columns(0).Width = 100
参照

DropDownCalendar クラス
DropDownCalendar メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.