Sets the font for the control hosted by the DataGridTextBoxColumn.
[Visual Basic] Property Font As Font [C#] Font Font {override set;} [C++] public: __property virtual void set_Font(Font*); [JScript] public function set Font(Font);
A Font for the hosted TextBox control.
The following example sets the font of a DataGridTextBoxColumn.
[Visual Basic]
Private Sub SetMyFont() Dim dgeCol As DataGridTextBoxColumn Set dgeCol = DataGrid1.GridColumns(1) Set dgeCol.Font = New System.Drawing.Font("TimesRoman", 18!) End Sub
DataGridTextBoxColumn Class | DataGridTextBoxColumn Members | System.WinForms Namespace | DataGrid | Font