BootstrapImage Class
Represents a control for displaying images.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
Declaration
[DXClientDocumentationProviderWeb("BootstrapImage")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapImage :
ASPxImage,
ISimpleRenderControl,
IBootstrapEditorCssClassesOwner
Remarks
The BootstrapImage control can be used to display any valid image supported by the requesting browser on the web page. The path to the displayed image is specified by the ASPxImage.ImageUrl property. You can specify the text to display in place of an image when the image is not available by setting the ASPxImageBase.AlternateText property. The BootstrapImage.EmptyImageUrl 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
The client-side equivalent of this editor control is represented by the BootstrapClientImage object. The editor’s client-side API is enabled if the ASPxEditBase.EnableClientSideAPI property is set to true, or any client event is handled. Available client events can be accessed via the ASPxImageBase.ClientSideEvents property.