Share via


AlignmentX Property (VideoBrush)

Gets or sets the horizontal alignment of the video from the VideoBrush.

XAML
<object AlignmentX="AlignmentX" .../>
Scripting
value = object.AlignmentX
object.AlignmentX = value

Property Value

AlignmentX

A value that specifies the horizontal position of the video when applied to the brush.

This property is read/write. The default value is Center.

Remarks

In addition to AlignmentX and AlignmentY, Stretch also affects which portion of the source will apply to the target region.

Applies To

VideoBrush

See Also

Silverlight Brushes Overview
Silverlight VideoBrush Overview