FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > Columns.DefaultColumn クラス : DataField プロパティ |
このプロパティが使用できるのは実行時のみです。
FarPoint.Win.Spread.Columns.DefaultColumn df; df = fpSpread1.ActiveSheet.Columns.Default; df.AllowAutoSort = true; df.BackColor = Color.Khaki; df.Border = new FarPoint.Win.LineBorder(Color.Blue); df.CellType = new FarPoint.Win.Spread.CellType.GeneralCellType(); df.Editor = fpSpread1.EditingControl; df.Font = new Font("Comic Sans MS", 10); df.ForeColor = Color.DarkBlue; df.Formatter = fpSpread1.ActiveSheet.Columns.Default.Formatter; df.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; df.Locked = false; df.ParentStyleName = "HeaderDefault"; df.Renderer = fpSpread1.ActiveSheet.Columns.Default.Renderer; df.StyleName = "HeaderDefault"; df.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
Dim df As FarPoint.Win.Spread.Columns.DefaultColumn df = fpSpread1.ActiveSheet.Rows.Default df.BackColor = Color.Khaki df.Border = New FarPoint.Win.LineBorder(Color.Blue) df.CellType = New FarPoint.Win.Spread.CellType.GeneralCellType df.Editor = fpSpread1.EditingControl df.Font = New Font("Comic Sans MS", 10) df.ForeColor = Color.DarkBlue df.Formatter = fpSpread1.ActiveSheet.Columns.Default.Formatter df.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right df.Locked = False df.ParentStyleName = "HeaderDefault" df.Renderer = fpSpread1.ActiveSheet.Columns.Default.Renderer df.StyleName = "HeaderDefault" df.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top