MediaContext 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.
Base context supplied to media component RenderFragment<TValue> custom content. Used by Image and Video, and as the base for FileDownloadContext.
public class MediaContext
type MediaContext = class
Public Class MediaContext
- Inheritance
-
MediaContext
- Derived
Constructors
| Name | Description |
|---|---|
| MediaContext() | |
Properties
| Name | Description |
|---|---|
| Element |
Element reference for use with |
| HasError |
Indicates whether the last load attempt failed. |
| IsLoading |
Indicates whether the media is currently loading. |
| ObjectUrl |
The object URL for the media (image/video) or |