GridViewColumnHeader.ShouldSerializeProperty(DependencyProperty) 方法

定义

确定是否序列化 DependencyProperty

protected public:
 override bool ShouldSerializeProperty(System::Windows::DependencyProperty ^ dp);
protected internal override bool ShouldSerializeProperty (System.Windows.DependencyProperty dp);
override this.ShouldSerializeProperty : System.Windows.DependencyProperty -> bool
Protected Friend Overrides Function ShouldSerializeProperty (dp As DependencyProperty) As Boolean

参数

dp
DependencyProperty

依赖项属性。

返回

Boolean

如果必须序列化 DependencyProperty,则为 true;否则为 false。 默认值为 false

注解

此方法适用于以下依赖项属性:

适用于