共用方式為


WrapGrid.HorizontalChildrenAlignment 屬性

定義

取得或設定對齊規則,子元素會依此規則來排列水平維度。

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

void HorizontalChildrenAlignment(HorizontalAlignment value);
public HorizontalAlignment HorizontalChildrenAlignment { get; set; }
var horizontalAlignment = wrapGrid.horizontalChildrenAlignment;
wrapGrid.horizontalChildrenAlignment = horizontalAlignment;
Public Property HorizontalChildrenAlignment As HorizontalAlignment
<WrapGrid HorizontalChildrenAlignment="horizontalAlignmentMemberName" />

屬性值

列舉值。 預設值為 Left

適用於