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。
返回
指定的 DependencyObject 的 ColumnCollection。
注解
请勿使用此方法更改对象的列集合 GridView 。 若要获取、设置或更改为 GridView 对象定义的列,请使用该 Columns 属性。