Partilhar via


SourceName

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a reference to the Name of the MediaElement object that provides video for a VideoBrush.

<object SourceName="string"  .../>
value = object.SourceName
object.SourceName = value

Property Value

Type: string

The Name of the MediaElement that is the source of the VideoBrush.

This property is read/write. The default value is an empty string.

Managed Equivalent

SourceName

Applies To

VideoBrush