[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Background.-ctor

Background Constructor

Background()

Creates a new background with default values.

Declaration
public Background()
Public Sub New()

Background(bool)

Creates a new background and whether enabled.

Declaration
public Background(bool enable)
Public Sub New(enable As Boolean)
Parameters
Type Name Description
bool enable

Background(string)

Creates a new background with the specified image.

Declaration
public Background(string backgroundImageUrl)
Public Sub New(backgroundImageUrl As String)
Parameters
Type Name Description
string backgroundImageUrl

URL of the background image

Background(string, string)

Creates a new background with the specified images.

Declaration
public Background(string backgroundImageUrl, string selectedBackgroundImageUrl)
Public Sub New(backgroundImageUrl As String, selectedBackgroundImageUrl As String)
Parameters
Type Name Description
string backgroundImageUrl

URL of the background image

string selectedBackgroundImageUrl

URL of image for selected cells

Background(Background)

Creates a new background with the specified background information.

Declaration
public Background(Background info)
Public Sub New(info As Background)
Parameters
Type Name Description
Background info

Background information

Background(string, string, string, string, string)

Creates a new background with the specified images and image options.

Declaration
public Background(string backgroundImageUrl, string selectedBackgroundImageUrl, string backgroundAttachment, string backgroundPosition, string backgroundRepeat)
Public Sub New(backgroundImageUrl As String, selectedBackgroundImageUrl As String, backgroundAttachment As String, backgroundPosition As String, backgroundRepeat As String)
Parameters
Type Name Description
string backgroundImageUrl

URL of the background image

string selectedBackgroundImageUrl

URL of image for selected cells

string backgroundAttachment

The background attachment

string backgroundPosition

The background position

string backgroundRepeat

The background to repeat

Background(SerializationInfo, StreamingContext)

Creates a new background from serialization.

Declaration
protected Background(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

Serialization information

StreamingContext context

Streaming context