FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : ColumnHeaderSpanModel Property |
'Declaration Public Property ColumnHeaderSpanModel As ISheetSpanModel
'Usage Dim instance As SheetView Dim value As ISheetSpanModel instance.ColumnHeaderSpanModel = value value = instance.ColumnHeaderSpanModel
public ISheetSpanModel ColumnHeaderSpanModel {get; set;}
This property is available at run time only.
To get or set the object for the row header, use the RowHeaderSpanModel property.
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView; FarPoint.Web.Spread.StyleInfo info = new FarPoint.Web.Spread.StyleInfo(); info.Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Teal, 2); sv.ColumnHeader.RowCount = 3; sv.ColumnHeaderSpanModel.Add(0, 0, 2, 2); sv.ColumnHeaderStyleModel.SetDirectInfo(0, 0, info); sv.ColumnHeaderRowAxisModel.SetSize(0, 50);
Dim sv As FarPoint.Web.Spread.SheetView Dim info As New FarPoint.Web.Spread.StyleInfo() info.Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Teal, 2) sv = FpSpread1.ActiveSheetView sv.ColumnHeader.RowCount = 3 sv.ColumnHeaderSpanModel.Add(0, 0, 2, 2) sv.ColumnHeaderStyleModel.SetDirectInfo(0, 0, info) sv.ColumnHeaderRowAxisModel.SetSize(0, 50)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional