Version

SimpleImage Class Members

The following tables list the members exposed by SimpleImage.

Public Constructors
 NameDescription
Public ConstructorSimpleImage ConstructorOverloaded.   
Protected Fields
 NameDescription
Protected FieldattributesCollection  
Public Properties
 NameDescription
Public PropertyAlternateTextThe text shown if the image is unable to display, or for Accessibility.  
Public PropertySection508CompliantIndicates whether the <img> tag renders a text equivalent for accessibility browsers using assistive technology such as screen readers.  
Public PropertyUrlThe source or "src" of the image.  
Protected Properties
 NameDescription
Protected PropertyUrlResolved  
Protected PropertyViewStateGets a dictionary of state information (StateBag) that allows you to save and restore the view state of a server control across multiple requests for the same page.  
Public Methods
 NameDescription
Public MethodRenderUses the properties set on the SimpleImage to write an <img> tag, including the image's src Url and any alternate text.  
Public MethodToStringString formatted for visual designer.  
Public MethodWriteImageUses the properties set on the SimpleImage to write an img tag, the image's source URL and any alternate text.  
Protected Methods
 NameDescription
Protected MethodInitializeAttributesCollection  
Protected MethodOnRenderAdditionalPropertiesOverride this method to render addition attributes allowed on the <img> tag which your subclass adds as full-fledged properties.  
Protected MethodOnResetDefaultablePropertiesGives subclasses an opportunity to restore container-specific default values to their image properties.  
Protected MethodResolveResourceUrlOverloaded.   
Protected MethodResolveUrl  
See Also