Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Background Class / BackgroundImageUrl Property
Example


In This Topic
    BackgroundImageUrl Property (Background)
    In This Topic
    Gets or sets the location of a background image.
    Syntax
    'Declaration
     
    Public Property BackgroundImageUrl As String
    'Usage
     
    Dim instance As Background
    Dim value As String
     
    instance.BackgroundImageUrl = value
     
    value = instance.BackgroundImageUrl
    public string BackgroundImageUrl {get; set;}

    Property Value

    String containing the location URL of the image
    Example
    This example sets the background image for the column.
    FpSpread1.Columns[0].Background.BackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE;
    FpSpread1.Columns[0].Background.Enable = true;
    FpSpread1.Columns[0].Background.SelectedBackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE;
    
    FpSpread1.Columns(0).Background.BackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE
    FpSpread1.Columns(0).Background.Enable = True
    FpSpread1.Columns(0).Background.SelectedBackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE
    
    See Also