Spread Windows Forms 9.0 Product Documentation
RowHeaderStyle Property
Example 


Gets or sets the row header style model.
Syntax
'Declaration
 
Public Property RowHeaderStyle As ISheetStyleModel
'Usage
 
Dim instance As SheetView.DocumentModels
Dim value As ISheetStyleModel
 
instance.RowHeaderStyle = value
 
value = instance.RowHeaderStyle
public ISheetStyleModel RowHeaderStyle {get; set;}

Property Value

ISheetStyleModel object containing the style model
Exceptions
ExceptionDescription
System.ArgumentNullException Model is not specified (or specified value is null)
Example
This example specifies the background color for the first row header.
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.RowHeaderStyle.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.RowHeaderStyle.SetDirectInfo(0, 0, info)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView.DocumentModels Class
SheetView.DocumentModels Members

 

 


Copyright © GrapeCity, inc. All rights reserved.