Aracılığıyla paylaş


AlignmentX (ImageBrush)

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

Gets or sets the horizontal alignment of images in the ImageBrush.

<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 image 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 image that will apply to the target region.

Applies To

ImageBrush