FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : SheetCornerStyleName プロパティ |
'Declaration Public Property SheetCornerStyleName As String
'使用法 Dim instance As SheetView Dim value As String instance.SheetCornerStyleName = value value = instance.SheetCornerStyleName
public string SheetCornerStyleName {get; set;}
例外 | 説明 |
---|---|
System.ArgumentException | 指定されたNamedStyleオブジェクトはコレクション内で見つかりませんでした。 |
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