Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SheetCornerStyleName Property

In This Topic
    SheetCornerStyleName Property
    In This Topic
    Gets or sets the name of the style for the sheet corner.
    Public Property SheetCornerStyleName As String
    Dim instance As SheetView
    Dim value As String
    instance.SheetCornerStyleName = value
    value = instance.SheetCornerStyleName
    public string SheetCornerStyleName {get; set;}

    Property Value

    String containing the name of the style for the sheet corner
    This example paints the sheet corner cell red.
    FarPoint.Web.Spread.SheetView sv;
    FarPoint.Web.Spread.NamedStyle ns = nw FarPoint.Web.Spread.NamedStyle();
    ns.BackColor = Color.Red;
    ns.Name = "mystyle";
    sv = FpSpread1.ActiveSheetView;
    sv.SheetCornerStyleName = ns.Name;
    Dim sv As FarPoint.Web.Spread.SheetView
    Dim ns As New FarPoint.Web.Spread.NamedStyle
    ns.BackColor = Color.Red
    ns.Name = "mystyle"
    sv = FpSpread1.ActiveSheetView
    sv.SheetCornerStyleName = ns.Name
    See Also