GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > GcDateTimeCellType クラス : MaxMinBehavior プロパティ |
'Declaration Public Property MaxMinBehavior As MaxMinBehavior
'使用法 Dim instance As GcDateTimeCellType Dim value As MaxMinBehavior instance.MaxMinBehavior = value value = instance.MaxMinBehavior
public MaxMinBehavior MaxMinBehavior {get; set;}
例外 | 説明 |
---|---|
System.ComponentModel.InvalidEnumArgumentException | value が有効な GcDateTime.MaxMinBehavior 項目ではありません。 |
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); datecell.MaxDate = new System.DateTime(9999, 12, 31); datecell.MinDate = DateTime.Now; datecell.MaxMinBehavior = GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.Clear; fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell;
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() datecell.MaxDate = new System.DateTime(9999, 12, 31) datecell.MinDate = DateTime.Now datecell.MaxMinBehavior = GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.Clear FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell