Re: DataGridView column order?



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
.



Relevant Pages

  • Re: Bitching about the documentation...
    ... >>Yes, well, regardless of your beef with the person who complained about ... >>documentation, I respectfully submit that it is not so easy to help out ... >the docs about submitting patches changed). ... a page could be generated automatically showing counts of failed search ...
    (comp.lang.python)
  • Re: [PATCH] Re: THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit
    ... I got enough attention... ... I just wait for documentation update... ... Regardless... ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PHP] foreach() using current() strange beahvior
    ... clarify these subtleties. ... Regardless of additional documentation or not, ... scalable system for accessing system services | ...
    (php.general)
  • Re: I am ANGRY with Debian.
    ... analogies fall short because documentation is not software, regardless of Debian's dogmatic claims to the contrary. ... If you mean with documentation some files you have on your computer, then they are of course software. ...
    (Debian-User)