private static DependencyProperty ConvertDependencyProperty (XamlTypeConverter converter, ITypeDescriptorContext context, CultureInfo culture, object ovalue)
{
string value = (string) ovalue;
Type target_type = GetTargetType (converter);
Types.Ensure (target_type);
ManagedType mt = Deployment.Current.Types.Find (target_type);
DependencyProperty dp = DependencyProperty.Lookup ((Kind) mt.native_handle, value);
return dp;
}