I know this is a broad topic, but please listen to me.
I have some examples where I need to edit a set of related properties. Some of them are free text, others can be an integer or a password, and many others have predefined parameters (selectbox). I basically need a container that repeats lines of text on the left with a control on the right.
I cannot use the PropertyGrid because I do not always have an instance, and I had difficulty understanding all the ipropertyeditorservice attributes and helpers that it wants.
I could not use DataGrid or DataGridView because they are column based. Each row may need a different type of control, so a column full of any type of control is useless.
I tried expanding the ListView where I am stuck right now. The owner draws and draws controls within the second column. This looks fine, but Microsoft's fixed-height issue is a problem. I think this comes from an imaginary or font that even textbox and combobox cannot accept to be sized by themselves and forget about the checklist or something else. I mean, this is usually normal for single-line controls for my specific desktop settings, but I cannot control the overlap at every resolution.
The only idea that I came up with on my own (besides abandoning something non-standard and ugly from System.Windows.Forms.Control) is to hush all these subcontrollers in TableLayoutContainer. It fixes a custom height problem, but I am losing the ListView's title and scroll function.
I have been looking for an alternative for several weeks, and I just can't find it. All invented datagridview and listview-as-datagrid, even commercial solutions. I canβt believe that there is no easy replacement there, which does the PropertyGrid. My ListView is the best of many failures ... what else can I do?
source share