Image 类

定义

有效呈现来自非 HTTP 源(如字节数组)的图像的组件。

public sealed class Image : Microsoft.AspNetCore.Components.Web.Media.MediaComponentBase
type Image = class
    inherit MediaComponentBase
Public NotInheritable Class Image
Inherits MediaComponentBase
继承

构造函数

名称 说明
Image()
已过时.

有效呈现来自非 HTTP 源(如字节数组)的图像的组件。

属性

名称 说明
AdditionalAttributes

应用于呈现元素的不匹配属性。

(继承自 MediaComponentBase)
ChildContent

允许自定义图像组件的呈现。

Source

获取或设置媒体源。

(继承自 MediaComponentBase)

方法

名称 说明
DisposeAsync()

有效呈现来自非 HTTP 源(如字节数组)的图像的组件。

(继承自 MediaComponentBase)

显式接口实现

名称 说明
IComponent.Attach(RenderHandle)

有效呈现来自非 HTTP 源(如字节数组)的图像的组件。

(继承自 MediaComponentBase)
IComponent.SetParametersAsync(ParameterView)

有效呈现来自非 HTTP 源(如字节数组)的图像的组件。

(继承自 MediaComponentBase)
IHandleAfterRender.OnAfterRenderAsync()

有效呈现来自非 HTTP 源(如字节数组)的图像的组件。

(继承自 MediaComponentBase)

适用于