Thanks Mike. The code I posted works by virtue of the call to
TypeDescriptor.AddProvider(). Remove that, and it doesn't. The point
is to determine why this doesn't work at the property level. I
understand I can apply the attribute to the class in this case, but in
cases where you don't own the type being converted, you need the wacky
workaround.
So this is either a bug in WPF, or a bug in documentation. I'd vote
for bug in WPF since it works elsewhere.
Best,
Kent
On Apr 23, 8:56 pm, Mike Brown <
mbrow...@gmail.com> wrote:
> I never commented on this before but in WPF 1.0 (not sure if it's been fixed
> since then) the docs said that the binding system respects
> ICustomTypeDescriptors but it didn't appear to work for me. I worked around
> it with the dynamic dependency property utility, but would have preferred
> not to have had to write that.
>
> On Thu, Apr 23, 2009 at 3:48 PM, Mike Brown <
mbrow...@gmail.com> wrote:
> > It looks like silverlight's binding goes above and beyond WPF's by checking
> > for the TypeConverter attribute on properties.
>