DataGrid.ShouldSerializeParentRowsForeColor 方法

定义

指示是否应使 ParentRowsForeColor 属性持久化。

protected:
 virtual bool ShouldSerializeParentRowsForeColor();
protected virtual bool ShouldSerializeParentRowsForeColor ();
abstract member ShouldSerializeParentRowsForeColor : unit -> bool
override this.ShouldSerializeParentRowsForeColor : unit -> bool
Protected Overridable Function ShouldSerializeParentRowsForeColor () As Boolean

返回

Boolean

如果已将属性值更改为其默认值之外的值,则为 true;否则为 false

注解

通常,只有在为 System.Windows.Forms.DataGrid设计器创建设计器或创建包含该 System.Windows.Forms.DataGrid控件的控件时,才使用此方法。

适用于