Re: DataGridView layout control in windows forms



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!



.



Relevant Pages

  • DataGridView layout control in windows forms
    ... 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? ... I've spent quite awhile online and haven't had ...
    (microsoft.public.dotnet.languages.csharp)
  • New Form Class With DataGridView
    ... a Form which includes an DataGridview. ... datagridview as template and call It a lot of time from diffrent menu ... If this menu item is clicked load the template form with the template ... public partial class Form3: Form ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Wheere do I find a Word7 expert to hire to make me a form?
    ... is quite small and simple but has some complications that I ... multiline address for the Regional Center ... Enter, stage left, a Word Template ...
    (microsoft.public.word.vba.general)
  • Word2003 Form-Textbox fixed to 3 lines, not by character count?
    ... The file is a Word 2003 form/ template. ... I have a textbox that has the following properties and it has to be ... multiline: ... showing. ...
    (microsoft.public.word.vba.general)
  • Re: Subject Field
    ... Right click the text box and pick advanced properties. ... multiline and word wrap properties to true. ... > I am simply trying to populate the subject field in my outlook template ...
    (microsoft.public.outlook.program_forms)

Loading