GridView.ShouldSerializeColumnCollection(DependencyObject) 方法

定义

确定是否序列化 ColumnCollection 附加属性。

public:
 static bool ShouldSerializeColumnCollection(System::Windows::DependencyObject ^ obj);
public static bool ShouldSerializeColumnCollection (System.Windows.DependencyObject obj);
static member ShouldSerializeColumnCollection : System.Windows.DependencyObject -> bool
Public Shared Function ShouldSerializeColumnCollection (obj As DependencyObject) As Boolean

参数

obj
DependencyObject

要在其上设置 ColumnCollection 的对象。

返回

Boolean

如果必须序列化 ColumnCollection,则为 true;否则为 false

适用于