[Mono-bugs] [Bug 340461] Support for setting NULL value for ImageBrush::ImageSource

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 9 13:10:13 EST 2007


--- Comment #2 from Chris Toshok <toshok at novell.com>  2007-11-09 11:10:12 MST ---
hm, that ImageBrush line (if the default really is NULL), should be:

        ImageBrush::ImageSourceProperty = DependencyObject::Register
(Type::IMAGEBRUSH, "ImageSource", new Value (Type::STRING));

the do.set_property error is likely because we just don't handle strings there.
 there is some code in the cpp that seems to assume that the only nullable
types are DependencyObject subclasses (or those explicitly registered with

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list