Re: DataGridView column order?
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 13 Jul 2007 12:01:44 -0400
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.
The ITypedList interface doesn't apply here, since you are just using the
IList implementation, but an ICustomTypeDescriptor implementation, or a
TypeDescriptionProviderAttribute is specific to the class its on and you
make no mention of these things.
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx> wrote in message
news:op.tvetbtc48jd0ej@xxxxxxxxxxxxxxxxxxxxxxx
On Fri, 13 Jul 2007 08:12:46 -0700, Nicholas Paldino [.NET/C# MVP]
<mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
[...]
Given all that (and there is more, I think, maybe an implementation
of
ICustomTypeDescriptor as well which can return property information) it's
easy to see why there is no defined order that is given to the
properties on
the grid, since there are so many different ways to obtain it.
Well, that's all well and good, of course. But obviously not all of those
things apply in this specific case.
I was curious if there was a specific explanation for the case I'm asking
about: a simple class with public properties.
Thanks!
Pete
.
- Follow-Ups:
- Re: DataGridView column order?
- From: Peter Duniho
- 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
- DataGridView column order?
- Prev by Date: Persisting Application Scoped Settings
- Next by Date: ReportViewer Redistributable installed, but can't find DLLs to refence... help!
- Previous by thread: Re: DataGridView column order?
- Next by thread: Re: DataGridView column order?
- Index(es):