DataGrid::CaptionText Property
.NET Framework (current version)
Gets or sets the text of the grid's window caption.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::String^A string to be displayed as the window caption of the grid. The default is an empty string ("").
The following code example sets the caption of a System.Windows.Forms::DataGrid.
.NET Framework
Available since 1.1
Available since 1.1
Show: