[]
Creates a new background with default values.
public Background()
Public Sub New()
Creates a new background and whether enabled.
public Background(bool enable)
Public Sub New(enable As Boolean)
Type | Name | Description |
---|---|---|
bool | enable |
Creates a new background with the specified image.
public Background(string backgroundImageUrl)
Public Sub New(backgroundImageUrl As String)
Type | Name | Description |
---|---|---|
string | backgroundImageUrl | URL of the background image |
Creates a new background with the specified images.
public Background(string backgroundImageUrl, string selectedBackgroundImageUrl)
Public Sub New(backgroundImageUrl As String, selectedBackgroundImageUrl As String)
Type | Name | Description |
---|---|---|
string | backgroundImageUrl | URL of the background image |
string | selectedBackgroundImageUrl | URL of image for selected cells |
Creates a new background with the specified background information.
public Background(Background info)
Public Sub New(info As Background)
Type | Name | Description |
---|---|---|
Background | info | Background information |
Creates a new background with the specified images and image options.
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)
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 |
Creates a new background from serialization.
protected Background(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | Serialization information |
StreamingContext | context | Streaming context |