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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
FpSpread Class
FpSpread Members
NamedStyle Class
NamedStyleCollection Class