Partilhar 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