![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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? |
My System Specs![]() |
| | #2 (permalink) |
| | 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? > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Can I stop Winmail from running automatically at startup? | Vista General | |||
| unread attended attributes are generated not always automatically | Live Mail | |||
| Automatically Running A Program On Startup? | Vista General | |||
| How good is Vista about automatically running installers as administrator? | Vista security | |||