Gets a value that indicates whether the caption's font is persisted.
[Visual Basic] Public Function ShouldPersistCaptionFont() As Boolean [C#] public bool ShouldPersistCaptionFont(); [C++] public: bool ShouldPersistCaptionFont(); [JScript] public function ShouldPersistCaptionFont() : Boolean;
true if the caption's font is persisted; otherwise, false.
You typically use this method only if you are either creating a designer for the DataGrid, or creating your own control incorporating the DataGrid.
DataGrid Class | DataGrid Members | System.WinForms Namespace | CaptionFont | CaptionText | CaptionBackColor | CaptionForeColor