Datatridview with linklabel

  • Thread starter Thread starter Frederik
  • Start date Start date
F

Frederik

Hi all,

I know there is a possibility to add a DataGridViewLinkColumn as a
type of column to a DataGridView. Is this type of column having a
LinkLabel inside? Why do I ask: I have linklabels (partly containing
text, partly containing links --> as is possible with the LinkArea
property of a LinkLabel) that I would like to add to a DataGridView or
ListView. Is this possible with the DataGridViewLinkColumn or do I
need a different approach?

Kind regards / Met vriendelijke groeten / Bien à vous,
Frederik Aerts
 
Frederik,

From what I can tell, the DataGridViewLinkCell doesn't template the
control like the DataGridViewTextBox cell, or other controls. Meaning, it
doesn't create a LinkLabel and then host that in the cell. You can create
your own cell/column classes that do this, if you want, though.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi all,

I know there is a possibility to add a DataGridViewLinkColumn as a
type of column to a DataGridView. Is this type of column having a
LinkLabel inside? Why do I ask: I have linklabels (partly containing
text, partly containing links --> as is possible with the LinkArea
property of a LinkLabel) that I would like to add to a DataGridView or
ListView. Is this possible with the DataGridViewLinkColumn or do I
need a different approach?

Kind regards / Met vriendelijke groeten / Bien à vous,
Frederik Aerts
 
Back
Top