AlignmentX (ImageBrush)

Silverlight

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

<object AlignmentX="AlignmentX"  .../>
value = object.AlignmentX
object.AlignmentX = 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.

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

Community Additions

ADD
Show: