Thanks for the macros. They neither work with
Ptr<> properties. But it will work in the future when we change them to something like:
ImageSource* AttributeControl::GetIcon() const
{
return DependencyObject::GetValue<ImageSource*>(IconProperty);
}
void AttributeControl::SetIcon(ImageSource* imageSource)
{
DependencyObject::SetValue<ImageSource*>(IconProperty, imageSource);
}
This is a breaking change, so won't happen soon. Honestly I am not sure about how to deal with strings, because I think that
char* and
NsString are different things.