![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Running Automatically Generated XAML I want my VB application (coe behind) to generate a XAML 3D object that will appear in a viewport. How do I get my XAML UI to display a 3D object that was genereated programatically by my application? Can I get a XAML UI to include a file that includes XAML commands at runtime? What is the best way to do this? |
| | #2 (permalink) |
| Guest | Re: Running Automatically Generated XAML Don, You can generate your xaml code then use XamlReader class to instantiate the object form it. Then you can add the object to your application from code. Don't forget that xaml is only a way to declare your tree of objects. When the application based on the XAML you wrote real objects are created and after that there is no xaml anymore; there are only .NET objects. The question is do you really need to use XAML to create your 3D objects at runtime (in code behind)? -- HTH Stoitcho Goutsev (100) "Don" <dbaechtel@gmail.com> wrote in message news:1163456571.842827.227850@f16g2000cwb.googlegroups.com... >I want my VB application (coe behind) to generate a XAML 3D object that > will appear in a viewport. How do I get my XAML UI to display a 3D > object that was genereated programatically by my application? Can I get > a XAML UI to include a file that includes XAML commands at runtime? > What is the best way to do this? > |
| | #3 (permalink) |
| Guest | Re: Running Automatically Generated XAML Don, You can generate your xaml code then use XamlReader class to instantiate the object form it. Then you can add the object to your application from code. Don't forget that xaml is only a way to declare your tree of objects. When the application based on the XAML you wrote real objects are created and after that there is no xaml anymore; there are only .NET objects. The question is do you really need to use XAML to create your 3D objects at runtime (in code behind)? -- HTH Stoitcho Goutsev (100) "Don" <dbaechtel@gmail.com> wrote in message news:1163456571.842827.227850@f16g2000cwb.googlegroups.com... >I want my VB application (coe behind) to generate a XAML 3D object that > will appear in a viewport. How do I get my XAML UI to display a 3D > object that was genereated programatically by my application? Can I get > a XAML UI to include a file that includes XAML commands at runtime? > What is the best way to do this? > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unread attended attributes are generated not always automatically | Erhard Glueck | Live Mail | 7 | 07-15-2008 11:47 AM |
| Automatically Running A Program On Startup? | Charles | Vista General | 6 | 06-17-2007 10:39 AM |
| How good is Vista about automatically running installers as administrator? | Milhouse Van Houten | Vista security | 11 | 05-09-2007 10:49 PM |
| How to deploy an XAML-based App with its XAML-UI-File? | Solveigh | Avalon | 11 | 11-08-2006 07:50 AM |
| Hook into running XAML window for unit testing gui ? | Peter Fitzgibbons | Avalon | 1 | 02-23-2006 12:18 AM |