S
Steven J. Reed
I am attempting to change the font and color on a column
of data within my datagrid. I have included the following
code:
Dim dgtxtLinks As DataGridTextBox
dgcsBrowse = New System.Windows.Forms.DataGridTextBoxColumn
With dgcsBrowse
.Format = ""
.FormatInfo = Nothing
.HeaderText = "Links"
.MappingName = "__Links"
dgtxtLinks = CType(.TextBox, DataGridTextBox)
With dgtxtLinks
.Font = New Drawing.Font(.DefaultFont,
Drawing.FontStyle.Underline)
.ForeColor = Drawing.Color.Blue
End With
.Width = 35
End With
mdgtsBrowse.GridColumnStyles.Add(dgcsBrowse)
The data appears in the default color / font.
Any suggestions?
Thanks...Steve
of data within my datagrid. I have included the following
code:
Dim dgtxtLinks As DataGridTextBox
dgcsBrowse = New System.Windows.Forms.DataGridTextBoxColumn
With dgcsBrowse
.Format = ""
.FormatInfo = Nothing
.HeaderText = "Links"
.MappingName = "__Links"
dgtxtLinks = CType(.TextBox, DataGridTextBox)
With dgtxtLinks
.Font = New Drawing.Font(.DefaultFont,
Drawing.FontStyle.Underline)
.ForeColor = Drawing.Color.Blue
End With
.Width = 35
End With
mdgtsBrowse.GridColumnStyles.Add(dgcsBrowse)
The data appears in the default color / font.
Any suggestions?
Thanks...Steve