Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Running Automatically Generated XAML

 
 
Old 11-13-2006   #1 (permalink)
Don


 
 

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 SpecsSystem Spec
Old 11-13-2006   #2 (permalink)
Stoitcho Goutsev \(100\)


 
 

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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46