DataGridTableStyle.ShouldSerializeSelectionForeColor 方法

定义

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

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

返回

如果属性值已更改,不再是默认值,则为 true;否则为 false

注解

如果要为 DataGridTableStyle 创建设计器或创建自己的包含 的 DataGridTableStyle控件,则通常使用此方法。

适用于

另请参阅