Show / Hide Table of Contents

Class VideoBrush

Paints an area with video content.

Inheritance
System.Object
DependencyObject
Brush
TileBrush
VideoBrush
Inherited Members
TileBrush.AlignmentXProperty
TileBrush.AlignmentX
TileBrush.AlignmentYProperty
TileBrush.AlignmentY
TileBrush.StretchProperty
TileBrush.Stretch
Brush.OpacityProperty
Brush.Opacity
Brush.RelativeTransformProperty
Brush.RelativeTransform
Brush.TransformProperty
Brush.Transform
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
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, IDependencyObject

Constructors

| Improve this Doc View Source

VideoBrush()

Initializes a new instance of the VideoBrush class.

Declaration
[NotImplemented]
public VideoBrush()

Fields

| Improve this Doc View Source

SourceNameProperty

The identifier for the SourceName dependency property.

Declaration
[NotImplemented]
public static readonly DependencyProperty SourceNameProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

SourceName

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 Source

SetSource(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.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source