ImagePropertiesBase Members
Contains base settings which define an image that can be displayed within different elements of web controls.Constructors
Name | Description |
---|---|
ImagePropertiesBase() | Initializes a new instance of the ImagePropertiesBase class with default settings. |
ImagePropertiesBase(IPropertiesOwner) | Initializes a new instance of the ImagePropertiesBase class with the specified owner. |
ImagePropertiesBase(String) | Initializes a new instance of the ImagePropertiesBase class with the specified image location. |
Fields
Name | Description |
---|---|
Empty static | For internal use only. |
Properties
Name | Description |
---|---|
AlternateText | Gets or sets the alternate text displayed instead of the image, when the image is unavailable. |
Height | Gets or sets the image’s height. |
IconID | Specifies an identifier of an image’s icon. |
IsEmpty | Gets a value that indicates whether no image is defined for an element’s normal state. |
IsEmptyChecked | Gets a value that indicates whether no image is defined for an element’s checked state. |
IsEmptyDisabled | Gets a value that indicates whether no image is defined for an element’s disabled state. |
IsEmptyHottracked | Gets a value that indicates whether no image is defined for an element’s hottracked state. |
IsEmptyPressed | Gets a value that indicates whether no image is defined for an element’s pressed state. |
IsEmptySelected | Gets a value that indicates whether no image is defined for an element’s selected state. |
IsResourcePng | Obsolete. Gets or sets a value that specifies whether the image defined by the ImagePropertiesBase class is of the PNG type. |
ToolTip | Gets or sets the image’s tooltip text. |
Url | Gets or sets the URL of the image used for an element’s normal state. |
Width | Gets or sets the image’s width. |
Methods
Name | Description |
---|---|
Assign(PropertiesBase) | Copies the settings from the specified PropertiesBase object to the current object. |
AssignToControl(Image, Boolean, Boolean, Boolean) | Copies the settings from the current ImagePropertiesBase object to the specified object. |
AssignToControl(Image, Boolean, Boolean) | Copies the settings from the current ImagePropertiesBase object to the specified object. |
AssignToControl(Image, Boolean) | Copies the settings from the current ImagePropertiesBase object to the specified object. |
AssignToControl(WebControl, Boolean, Boolean) | Copies the settings from the current ImagePropertiesBase object to the specified object. |
AssignToControl(WebControl, Boolean) | Copies the settings from the current ImagePropertiesBase object to the specified object. |
CopyFrom(PropertiesBase) | Duplicates the properties of the specified object into the current instance of the ImagePropertiesBase 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. |
GetCheckedScriptObject(Page) | For internal use only. |
GetDisabledScriptObject(Page) | For internal use only. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetHottrackedScriptObject(Page) | For internal use only. |
GetPressedScriptObject(Page) | For internal use only. |
GetScriptObject(Page) | For internal use only. |
GetSelectedScriptObject(Page) | For internal use only. |
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(PropertiesBase) | Combines the properties of the specified PropertiesBase object with the current instance of the ImagePropertiesBase class. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Reset() | Returns the ImagePropertiesBase object to its original state. |
ToString() | Returns the string that represents the current object. |
See Also