NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.ShouldPersistCaptionBackColor

Indicates whether the CaptionBackColor property should be persisted.

[Visual Basic]
Overridable Public Function ShouldPersistCaptionBackColor() As _
   Boolean
[C#]
public virtual bool ShouldPersistCaptionBackColor();
[C++]
public: virtual bool ShouldPersistCaptionBackColor();
[JScript]
public function ShouldPersistCaptionBackColor() : Boolean;

Return Value

true if the property value has been changed from its default; otherwise, false.

Remarks

You typically use this method only if you are either creating a designer for the DataGrid, or creating your own control incorporating the DataGrid.

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace