AlignmentX (ImageBrush)

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



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