Skip to main content
Tab

BackgroundImage Members

Represents a background image.

Constructors

Name Description
BackgroundImage() Initializes a new instance of the BackgroundImage class.

Properties

Name Description
HorizontalPosition Gets or sets the horizontal alignment of the background image(s) within a container element.
ImageUrl Gets or sets the URL of the image source for the BackgroundImage object.
IsEmpty Gets a value that indicates whether this BackgroundImage object is initialized with the default values.
Repeat Gets or sets a value that specifies how the background image fills the available space.
VerticalPosition Gets or sets the vertical alignment of the background image(s) within a container element.

Methods

Name Description
Assign(BackgroundImage) Copies the settings of the specified object to the current one.
AssignToControl(WebControl) Copies the settings from the current BackgroundImage object to the specified object.
CopyFrom(BackgroundImage) Duplicates the properties of the specified object into the current instance of the BackgroundImage class.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FillStyleAttributes(CssStyleCollection, IUrlResolutionService) For internal use only.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MergeWith(BackgroundImage) Combines the properties of the specified BackgroundImage with the current instance of the BackgroundImage class.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Returns the BackgroundImage object to its original state.
ToString() Returns a string that represents the current object.
See Also