Spread for ASP.NET 11 Product Documentation
SelectedBackgroundImageUrl Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Background Class : SelectedBackgroundImageUrl Property
Gets or sets the location of a background image when a cell is selected.
Syntax
'Declaration
 
Public Property SelectedBackgroundImageUrl As String
'Usage
 
Dim instance As Background
Dim value As String
 
instance.SelectedBackgroundImageUrl = value
 
value = instance.SelectedBackgroundImageUrl
public string SelectedBackgroundImageUrl {get; set;}

Property Value

String containing the 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

Reference

Background Class
Background Members