MediaFieldControl.DisplayMode Property
Gets or sets 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
Public Property DisplayMode As MediaDisplayMode
Get
Set
'Usage
Dim instance As MediaFieldControl
Dim value As MediaDisplayMode
value = instance.DisplayMode
instance.DisplayMode = value
public MediaDisplayMode DisplayMode { get; set; }
Property Value
Type: Microsoft.SharePoint.Publishing.WebControls.MediaDisplayMode
Returns MediaDisplayMode.
Remarks
If a MediaDisplayMode value is specified bythe MediaFieldValue, it will take precedence over this setting.