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 時,您通常會使用這個方法。

適用於