TileBrush.AlignmentY 属性

定义

获取或设置 TileBrush 基本图块中内容的垂直对齐方式。Gets or sets the vertical alignment of content in the TileBrush base tile.

public:
 property System::Windows::Media::AlignmentY AlignmentY { System::Windows::Media::AlignmentY get(); void set(System::Windows::Media::AlignmentY value); };
public System.Windows.Media.AlignmentY AlignmentY { get; set; }
member this.AlignmentY : System.Windows.Media.AlignmentY with get, set
Public Property AlignmentY As AlignmentY

属性值

用于指定 TileBrush 内容在其基本图块中垂直位置的值。A value that specifies the vertical position of TileBrush content in its base tile. 默认值为 CenterThe default value is Center.

注解

如果满足以下任一条件,则使用 TileBrushAlignmentX 和 @no__t 属性:The AlignmentX and AlignmentY properties of a TileBrush are used when either of the following conditions are true:

请注意,可以使用 @no__t 属性指定 TileBrush 内容的尺寸;使用 @no__t 属性指定 TileBrush 基本图块的位置和大小。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.

依赖项属性信息Dependency Property Information

标识符字段Identifier field AlignmentYProperty
元数据属性设置为 trueMetadata properties set to true NoneNone

适用于

另请参阅