次の方法で共有


AlignmentX (VideoBrush)

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

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

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

Property Value

Type: AlignmentX

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

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

Managed Equivalent

AlignmentX

Remarks

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

Applies To

VideoBrush