Spread for ASP.NET 7.0 Product Documentation
SelectedBackgroundImageUrl Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Background Class : SelectedBackgroundImageUrl Property


Glossary Item Box

Gets or sets the location of a background image when a cell is selected.

Syntax

Visual Basic (Declaration) 
Public Property SelectedBackgroundImageUrl As String
Visual Basic (Usage)Copy Code
Dim instance As Background
Dim value As String
 
instance.SelectedBackgroundImageUrl = value
 
value = instance.SelectedBackgroundImageUrl
C# 
public string SelectedBackgroundImageUrl {get; set;}

Property Value

String containing the URL of the image

Example

This example sets the background image for the column.
C#Copy Code
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;
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.