Share via


MediaWebPart.DisplayMode property

The MediaDisplayMode in which to start the media player.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property DisplayMode As MediaDisplayMode
    Get
    Set
'Usage
Dim instance As MediaWebPart
Dim value As MediaDisplayMode

value = instance.DisplayMode

instance.DisplayMode = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public MediaDisplayMode DisplayMode { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.WebControls.MediaDisplayMode
Returns MediaDisplayMode.

See also

Reference

MediaWebPart class

MediaWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace