Share via


SourceName (VideoBrush) Property

Gets or sets the Name of the MediaElement that provides video for this VideoBrush.

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

Property Value

string

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

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

Remarks

For more information about how VideoBrush and MediaElement work together, see the VideoBrush Overview.

Applies To

VideoBrush

See Also

VideoBrush Overview