Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / AlternatingRow Class / EncodeValue Property
Example


In This Topic
    EncodeValue Property (AlternatingRow)
    In This Topic
    Gets or sets the encode value setting for an alternating row.
    Syntax
    'Declaration
     
    Public Property EncodeValue As Boolean
    'Usage
     
    Dim instance As AlternatingRow
    Dim value As Boolean
     
    instance.EncodeValue = value
     
    value = instance.EncodeValue
    public bool EncodeValue {get; set;}
    Example
    This example creates bold text.
    FpSpread1.Sheets[0].AlternatingRows[0].EncodeValue = false;
    FpSpread1.Sheets[0].Cells[0, 1].Value = "Hello<B>World</B>";
    FpSpread1.Sheets(0).AlternatingRows(0).EncodeValue = False
    FpSpread1.Sheets(0).Cells(0, 1).Value = "Hello<B>World</B>"
    See Also