TileBrush.AlignmentX 属性

定义

获取或设置 TileBrush 基本磁贴中内容的水平对齐方式。

public:
 property AlignmentX AlignmentX { AlignmentX get(); void set(AlignmentX value); };
AlignmentX AlignmentX();

void AlignmentX(AlignmentX value);
public AlignmentX AlignmentX { get; set; }
var alignmentX = tileBrush.alignmentX;
tileBrush.alignmentX = alignmentX;
Public Property AlignmentX As AlignmentX
<brush AlignmentX="Left"/>
-or-
<brush AlignmentX="Center"/>
-or-
<brush AlignmentX="Right"/>

属性值

一个 值,该值指定 TileBrush 内容在其基础磁贴中的水平位置。 默认值为 Center

适用于