FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > BaseSheetStyleModel クラス : AltRowCount プロパティ |
'Declaration Public Overridable Property AltRowCount As Integer
'使用法 Dim instance As BaseSheetStyleModel Dim value As Integer instance.AltRowCount = value value = instance.AltRowCount
public virtual int AltRowCount {get; set;}
FarPoint.Win.Spread.Model.BaseSheetStyleModel styleModel;
FarPoint.Win.Spread.StyleInfo sInfo = new FarPoint.Win.Spread.StyleInfo();
sInfo.BackColor = Color.LightBlue;
styleModel = (FarPoint.Win.Spread.Model.BaseSheetStyleModel)fpSpread1.ActiveSheet.Models.Style;
styleModel.AltRowCount = 3;
styleModel.SetDirectAltRowInfo(1, sInfo);
Dim styleModel As FarPoint.Win.Spread.Model.BaseSheetStyleModel Dim sInfo As New FarPoint.Win.Spread.StyleInfo() sInfo.BackColor = Color.LightBlue styleModel = FpSpread1.ActiveSheet.Models.Style styleModel.AltRowCount = 3 styleModel.SetDirectAltRowInfo(1, sInfo)