Class VideoBrush
Paints an area with video content.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public sealed class VideoBrush : TileBrush, IHasAccessToPropertiesWhereItIsUsed
Constructors
| Improve this Doc View SourceVideoBrush()
Initializes a new instance of the VideoBrush class.
Declaration
[NotImplemented]
public VideoBrush()
Fields
| Improve this Doc View SourceSourceNameProperty
The identifier for the SourceName dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty SourceNameProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceSourceName
The name of the MediaElement to use as the source of the VideoBrush.
Declaration
[NotImplemented]
public string SourceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSetSource(MediaElement)
Sets the source of the VideoBrush using a media file source from an intermediary MediaElement control.
Declaration
[NotImplemented]
public void SetSource(MediaElement source)
Parameters
Type | Name | Description |
---|---|---|
MediaElement | source | The intermediary MediaElement control used as the source for the VideoBrush. |