Resets the CaptionFont property to its default value.
[Visual Basic] Public Sub ResetCaptionFont() [C#] public void ResetCaptionFont(); [C++] public: void ResetCaptionFont(); [JScript] public function ResetCaptionFont();
You typically use this method only if you are either creating a designer for the DataGrid, or creating your own control incorporating the DataGrid.
The following example resets the font of the grid's caption.
[Visual Basic]
Private Sub ResetGridCaptionFont(ByVal myGrid As DataGrid) myGrid.ResetGridCaptionFont End Sub
DataGrid Class | DataGrid Members | System.WinForms Namespace | CaptionFont | ShouldPersistCaptionFont