public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
리턴 | object |
protected override PropertyPath ParsePropertyPath(string piece) { var converter = new XamlTypeConverter(parser, target_element, AttributeName, typeof(PropertyPath)); var path = converter.ConvertFrom(piece) as PropertyPath; if (path == null) { Console.Error.WriteLine("Error parsing property path: '{0}'.", piece); return(null); } return(path); }
protected override PropertyPath ParsePropertyPath (string piece) { var converter = new XamlTypeConverter (parser, target_element, AttributeName, typeof (PropertyPath)); var path = converter.ConvertFrom (piece) as PropertyPath; if (path == null) { Console.Error.WriteLine ("Error parsing property path: '{0}'.", piece); return null; } return path; }