TileBrush.AlignmentY Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the vertical alignment of content in the TileBrush base tile.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public AlignmentY AlignmentY { get; set; }

Property Value

Type: System.Windows.Media.AlignmentY

A value that specifies the vertical position of TileBrush content in its base tile. The default value is Center.

The AlignmentX and AlignmentY properties of a TileBrush are used when either of the following conditions are true:

Note that you specify the dimensions of TileBrush content by using the Viewbox property; you specify the position and size of the TileBrush base tile by using the Viewport property.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top