Re: DataGridView column order?
- From: "Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx>
- Date: Fri, 13 Jul 2007 10:15:03 -0700
On Fri, 13 Jul 2007 09:01:44 -0700, Nicholas Paldino [.NET/C# MVP] <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
That's the thing, without knowing the types that are offered up by the
IList implementation, those things could be possible. The IList
implementation does not offer any information about the types contained.
I'm not sure what you mean here. I am using a generic List<> array for the IList, containing only the one type I've declared. I thought that was reasonably clear in my original post (at least the part about my own class being the data provider via its properties), but if not I apologize.
In other words, I _do_ know the type that is offered up by the IList, and with that information it should be possible to explain why the order of the columns is the way it is.
[...]
Regardless, there is no order defined for any of these case. The
documentation makes no mention about how the property descriptors are to be
returned to the caller in any of these cases, so I would regard any
knowledge of such as an implementation detail.
I recognize why the documentation doesn't define this. It's obvious that there are a broad variety of things that can be used as the DataSource. However, I'm asking about a specific case, and I already made it clear that half my interest is simply curiosity.
If you don't know the answer, that's fine. But telling me that I don't need to know isn't useful. I already know that I don't _need_ to know.
Pete
.
- Follow-Ups:
- Re: DataGridView column order?
- From: Nicholas Paldino [.NET/C# MVP]
- Re: DataGridView column order?
- References:
- DataGridView column order?
- From: Peter Duniho
- Re: DataGridView column order?
- From: Nicholas Paldino [.NET/C# MVP]
- Re: DataGridView column order?
- From: Peter Duniho
- Re: DataGridView column order?
- From: Nicholas Paldino [.NET/C# MVP]
- DataGridView column order?
- Prev by Date: Re: Hardcoding database primary key in switch statement / Design, Dependency issue
- Next by Date: Re: Persisting Application Scoped Settings
- Previous by thread: Re: DataGridView column order?
- Next by thread: Re: DataGridView column order?
- Index(es):
Relevant Pages
|