GridView.GetColumnCollection(DependencyObject) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得附帶財產的財產 ColumnCollection 。
public:
static System::Windows::Controls::GridViewColumnCollection ^ GetColumnCollection(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.GridViewColumnCollection GetColumnCollection(System.Windows.DependencyObject element);
static member GetColumnCollection : System.Windows.DependencyObject -> System.Windows.Controls.GridViewColumnCollection
Public Shared Function GetColumnCollection (element As DependencyObject) As GridViewColumnCollection
參數
- element
- DependencyObject
DependencyObject那個是與收藏相關聯的。
傳回
ColumnCollection該 的指定 DependencyObject。
備註
不要用這個方法來更改物件的 GridView 欄位集合。 要取得、設定或更改物件定義 GridView 的欄位,請使用該 Columns 屬性。