FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : NamedStyles Property |
'Declaration Public ReadOnly Property NamedStyles As NamedStyleCollection
'Usage Dim instance As FpSpread Dim value As NamedStyleCollection value = instance.NamedStyles
public NamedStyleCollection NamedStyles {get;}
FarPoint.Web.Spread.ColumnHeader colhdr; FarPoint.Web.Spread.NamedStylemn style=new FarPoint.Web.Spread.NamedStyle(); mnstyle.Name="fpstyle"; mnstyle.BackColor=Color.Yellow; FpSpread1.NamedStyles.Add(mnstyle); colhdr=FpSpread1.ActiveSheetView.ColumnHeader; colhdr.DefaultStyleName=mnstyle.Name;
Dim colhdr As FarPoint.Web.Spread.ColumnHeader Dim mnstyle As New FarPoint.Web.Spread.NamedStyle() mnstyle.Name="fpstyle" mnstyle.BackColor=Color.Yellow FpSpread1.NamedStyles.Add(mnstyle) colhdr=FpSpread1.ActiveSheetView.ColumnHeader colhdr.DefaultStyleName=mnstyle.Name
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
FpSpread Class
FpSpread Members
NamedStyle Class
NamedStyleCollection Class