DataGridTableStyle.ShouldSerializeBackColor 方法

定义

指示是否应使 BackColor 属性持久化。Indicates whether the BackColor property should be persisted.

protected:
 bool ShouldSerializeBackColor();
protected bool ShouldSerializeBackColor ();
member this.ShouldSerializeBackColor : unit -> bool
Protected Function ShouldSerializeBackColor () As Boolean

返回

Boolean

如果属性值已更改,不再是默认值,则为 true;否则为 falsetrue if the property value has changed from its default; otherwise, false.

注解

如果要为创建设计器 DataGridTableStyle 或创建自己的包含的控件,则通常使用此方法 DataGridTableStyleYou typically use this method if you are either creating a designer for the DataGridTableStyle or creating your own control incorporating the DataGridTableStyle.

适用于