Image Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A component that efficiently renders images from non-HTTP sources like byte arrays.
public sealed class Image : Microsoft.AspNetCore.Components.Web.Media.MediaComponentBase
type Image = class
inherit MediaComponentBase
Public NotInheritable Class Image
Inherits MediaComponentBase
- Inheritance
Constructors
| Name | Description |
|---|---|
| Image() | |
Properties
| Name | Description |
|---|---|
| AdditionalAttributes |
Unmatched attributes applied to the rendered element. (Inherited from MediaComponentBase) |
| ChildContent |
Allows customizing the rendering of the image component. |
| Source |
Gets or sets the media source. (Inherited from MediaComponentBase) |
Methods
| Name | Description |
|---|---|
| DisposeAsync() | (Inherited from MediaComponentBase) |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IComponent.Attach(RenderHandle) | (Inherited from MediaComponentBase) |
| IComponent.SetParametersAsync(ParameterView) | (Inherited from MediaComponentBase) |
| IHandleAfterRender.OnAfterRenderAsync() | (Inherited from MediaComponentBase) |