An image control that reduces to an absolute minimum the size of the image transferred to the browser. Multiple image sources can be specified to reduce the adverse impact of shrinking images.

Image control inherits Microsoft's Image documented here.

Namespace: FiftyOne.Framework.Mobile.Controls
Assembly: FiftyOne.Framework (in FiftyOne.Framework.dll) Version: 2.0.2.1 (2.0.2.1)

Syntax

C#
[ToolboxBitmapAttribute("FiftyOne.Framework.Mobile.Controls.Image")]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class Image : Image, IImageControl, 
	IStyle, IUrlResolutionService, ICssIncludeGroup
Visual Basic
<ToolboxBitmapAttribute("FiftyOne.Framework.Mobile.Controls.Image")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class Image _
	Inherits Image _
	Implements IImageControl, IStyle, IUrlResolutionService, ICssIncludeGroup
Visual C++
[ToolboxBitmapAttribute(L"FiftyOne.Framework.Mobile.Controls.Image")]
[AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class Image : public Image, 
	IImageControl, IStyle, IUrlResolutionService, ICssIncludeGroup

Examples

The following example demonstrates how to create a HyperLink control on a Web page that links to another Web page.

CopyXML
<mob:Image ID="Image1" runat="server" ImageUrl="Images/Globe128.jpg" CalculateSizeMode="ClientWidth" ImageAlign="AbsMiddle" >
    <mob:AltImage ImageUrl="~/Images/Globe48.jpg" />
    <mob:AltImage ImageUrl="~/Images/Globe72.png" />
    <mob:AltImage ImageUrl="~/Images/Globe24.gif" />
</mob:Image>

Inheritance Hierarchy

System..::..Object
  System.Web.UI..::..Control
    System.Web.UI.WebControls..::..WebControl
      System.Web.UI.WebControls..::..Image
        FiftyOne.Framework.Mobile.Controls..::..Image

See Also