Share via


GridViewHeaderRowPresenter.AllowsColumnReorder 屬性

定義

取得或設定值,這個值表示資料行是否能變更位置。

public:
 property bool AllowsColumnReorder { bool get(); void set(bool value); };
public bool AllowsColumnReorder { get; set; }
member this.AllowsColumnReorder : bool with get, set
Public Property AllowsColumnReorder As Boolean

屬性值

如果可透過資料行行首的拖放作業來移動資料列,則為 true,否則為 false。 預設為 true

備註

當您將這個類別實作為檢視模式的一 GridView 部分時,這個屬性的值 AllowsColumnReorder 會系結至 上的 GridView 屬性值。

相依性屬性資訊

識別碼欄位 AllowsColumnReorderProperty
設定為 的中繼資料屬性 true

適用於