Re: DataGridView layout control in windows forms
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Wed, 29 Nov 2006 05:54:46 +0100
Jon,
There is a lot possible, two examples
dgv.Columns["x"] .AutoSizeMode =
DataGridViewAutoSizeColumnMode.DisplayedCells
dgv.Columns["x"].DefaultCellStyle.WrapMode = DataGridViewTriState.True
Cor
<jon.paine@xxxxxxxxx> schreef in bericht
news:1164767113.035341.124880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All -
I'm working on my first real c# windows forms - but I've done c# web
development for awhile. The problem that I'm running into is with
defining a layout structure for a dataGridView cell.
In a gridview or a datarepeater you can use a template, but that
flexability doesn't seem readily available in the dataGridView.
Is there a way to apply that kind of control (item template w/
multiline within a single cell) in the dataGridView? The multiline
part is the most important part.
If not, some very quick suggestions for tools more suited would be
greatly appreciated. I've spent quite awhile online and haven't had
much luck finding template controls which can do more than change color
attributes and things of that nature.
Thanks!
.
- References:
- DataGridView layout control in windows forms
- From: jon . paine
- DataGridView layout control in windows forms
- Prev by Date: Re: XML Document Serialization
- Next by Date: RE: Need Help getting values from bits.
- Previous by thread: DataGridView layout control in windows forms
- Next by thread: How to get local machine name and IP address?
- Index(es):
Relevant Pages
|
Loading