GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > GcDateTimeCellType クラス : DefaultActiveField プロパティ |
'Declaration Public Property DefaultActiveField As DateFieldInfo
'使用法 Dim instance As GcDateTimeCellType Dim value As DateFieldInfo instance.DefaultActiveField = value value = instance.DefaultActiveField
public DateFieldInfo DefaultActiveField {get; set;}
例外 | 説明 |
---|---|
System.ArgumentException | 値が GrapeCity.Win.Spread.InputMan.CellType.Fields.DateInputField ではありません。 |
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
datecell.DefaultActiveField = datecell.Fields[2];
fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell;
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() datecell.DefaultActiveField = datecell.Fields(2) FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell