Share via


MediaWebPart.ShowEmbedControl property

Gets or sets whether the media player should display the control for embedding the selected media.

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

Syntax

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

value = instance.ShowEmbedControl

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

Property value

Type: System.Boolean
A Boolean value that indicates if the media player should display the control for embedding the selected media.

See also

Reference

MediaWebPart class

MediaWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace