FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView.DocumentModels クラス : Style プロパティ |
'Declaration
Public Property Style As ISheetStyleModel
public ISheetStyleModel Style {get; set;}
例外 | 説明 |
---|---|
System.ArgumentNullException | モデルが指定されていません(または指定された値がNull)。 |
FarPoint.Win.Spread.SheetView.DocumentModels dm = new FarPoint.Win.Spread.SheetView.DocumentModels(); dm = fpSpread1.ActiveSheet.Models; FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo(); info.BackColor = Color.Red; dm.Style.SetDirectInfo(0, 0, info);
Dim dm As New FarPoint.Win.Spread.SheetView.DocumentModels() dm = FpSpread1.ActiveSheet.Models Dim info As New FarPoint.Win.Spread.StyleInfo() info.BackColor = Color.Red dm.Style.SetDirectInfo(0, 0, info)