ASPxObjectContainer.ActualObjectType Property
Determines the type of a media object displayed within this ASPxObjectContainer control at runtime.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
ObjectType | One of the ObjectType enumeration values (except for Auto). |
Available values:
Name | Description |
---|---|
Auto | To automatically determine the type of a media object. |
Image | An image is used. Supported formats: GIF, JPEG, PNG, BMP, TIFF, ICO |
Flash | A Macromedia Shockwave Flash (SWF) object is used. |
Video | A video object is used. Supported formats: MPE, MPEG, MPG, ASF, ASX, AVI, MP4, WM, WMV, WMX, WVX |
Audio | An audio object is used. Supported formats: MID, MIDI, MP3, MP3, MPEGA, MPGA, M4A, WAV, WAX, WMA |
QuickTime | A Quick Time object is used. |
Html5Video | An HTML5 video object is used. Supported formats: MP4 |
Html5Audio | An HTML5 audio object is used. Supported formats: MP3 |
Remarks
When the ASPxObjectContainer.ObjectType property is set to Auto, the type of a media object to be displayed by this ASPxObjectContainer control is determined at runtime according to the file extension of this object. Use the ActualObjectType property to obtain information on the type of the concrete media object which is currently displayed within this ASPxObjectContainer at runtime.