It is wrapped in a Canvas, and works. It is my assumption that this is because the CreateFromXaml method will only render a fragment with a single head node. That's required for valid xml, so that makes sense. Anyway, whether it is intended or not, that
might be something worth mentioning in the help for this method. Expecially since the error message returned is anything but clear (Error Code: 2207 and an error message of AG_E_RUNTIME_METHOD).