Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / ISheetStyleModel Interface / AltRowCount Property

In This Topic
    AltRowCount Property (ISheetStyleModel)
    In This Topic
    Gets or sets the number of alternating row styles in the model.
    Property AltRowCount As Integer
    Dim instance As ISheetStyleModel
    Dim value As Integer
    instance.AltRowCount = value
    value = instance.AltRowCount
    int AltRowCount {get; set;}

    Property Value

    Integer number of alternating rows
    FarPoint.Web.Spread.Model.ISheetStyleModel iss;
    iss = (FarPoint.Web.Spread.Model.ISheetStyleModel)FpSpread1.ActiveSheetView.StyleModel;
    iss.AltRowCount = 2;
    Dim si As New FarPoint.Web.Spread.StyleInfo;
    si.BackColor = Color.Yellow;
    iss.SetDirectAltRowInfo(1, si);
    Dim iss As FarPoint.Web.Spread.Model.ISheetStyleModel
    iss = FpSpread1.ActiveSheetView.StyleModel
    iss.AltRowCount = 2
    Dim si As New FarPoint.Web.Spread.StyleInfo
    si.BackColor = Color.Yellow
    iss.SetDirectAltRowInfo(1, si)
    See Also