Back to Devexpress

ASPxImage Class

aspnet-devexpress-dot-web-52160d04.md

latest4.1 KB
Original Source

ASPxImage Class

Represents a control for displaying images.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class ASPxImage :
    ASPxImageBase
vb
Public Class ASPxImage
    Inherits ASPxImageBase

Remarks

The ASPxImage control can be used to display on the web page any valid image supported by the requesting browser. The path to the displayed image is specified by the ASPxImage.ImageUrl property. You can specify the text to display in place of image when the image is not available by setting the ASPxImageBase.AlternateText property. The ASPxImageBase.EmptyImage property allows you to define a specific image to be displayed by the image editor if the editor’s value is null (or the ASPxImage.ImageUrl property is not defined or is set to an empty string). The alignment of the displayed image in relation to other elements on the web page is specified by the ASPxImageBase.ImageAlign property.

Note

You cannot bind the ASPxImage to binary data. For this purpose, use the ASPxBinaryImage control.

Implements

Show 15 items

IComponent

IDisposable

IParserAccessor

IDataBindingsAccessor

IControlBuilderAccessor

IControlDesignerAccessor

IExpressionsAccessor

IAttributeAccessor

IUrlResolutionService

INamingContainer

IPostBackDataHandler

IPostBackEventHandler

ICallbackEventHandler

IPropertiesOwner

IDataSourceViewSchemaAccessor

Inheritance

Show 13 items

Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxDataWebControlBase ASPxDataWebControl ASPxEditBase ASPxStaticEdit ASPxImageBase ASPxImage BootstrapImage

MVCxImage

See Also

ASPxImage Members

ImageEditProperties

Image

DevExpress.Web Namespace