FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SheetCornerStyleName Property |
'Declaration Public Property SheetCornerStyleName As String
'Usage Dim instance As SheetView Dim value As String instance.SheetCornerStyleName = value value = instance.SheetCornerStyleName
public string SheetCornerStyleName {get; set;}
Exception | Description |
---|---|
System.ArgumentException | Specified NamedStyle object could not be found in the collection |
FarPoint.Win.Spread.NamedStyle nstyleheaders = new FarPoint.Win.Spread.NamedStyle("StyleHeaders"); nstyleheaders.BackColor = Color.Red; nstyleheaders.Parent = "HeaderDefault"; fpSpread1.ActiveSheet.SheetCornerStyle.Parent = "StyleHeaders"; fpSpread1.NamedStyles.Add(nstyleheaders); fpSpread1.ActiveSheet.SheetCornerStyle = nstyleheaders; label1.Text = "The name of the sheet corner is " + fpSpread1.ActiveSheet.SheetCornerStyleName;
Dim nstyleheaders As New FarPoint.Win.Spread.NamedStyle("StyleHeaders") nstyleheaders.BackColor = Color.Red nstyleheaders.Parent = "HeaderDefault" FpSpread1.ActiveSheet.SheetCornerStyle.Parent = "StyleHeaders" FpSpread1.NamedStyles.Add(nstyleheaders) FpSpread1.ActiveSheet.SheetCornerStyle = nstyleheaders Label1.Text = "The name of the sheet corner is " & FpSpread1.ActiveSheet.SheetCornerStyleName
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
SheetView Class
SheetView Members
Creating and Applying a Style for Cells
Customizing the Sheet Corner