Introduction to XAML
- Posted: Sep 06, 2005 at 5:00 PM
- 54,916 Views
- 22 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Very impressive stuff... VERY impressive. Very good screencast. Would it be possible to get one showing us how, for example, you would set text using C#?
Two other questions -- Why are strings inconsistent in XAML? Some strings are contained within " " - "text" and others between tags <A> Text </A>; why not pick one or the other?
Just because I'm curious, could you have your typed text follow a curve around (see WordArt)?
As far as the differing styles of XAML are concerned, it is at least consistent - you have both choices. For example, you can write: or
It's just that the default property for Button is Content, hence you can embed the text within the element. We could only support the former choice, but the latter allows for a more natural syntax, I think. Does that make sense?
Will Avalon be helpful to web developers? A'la a web-based plugin, etc etc. Or is it app only?
The way is also open for other browsers to host Avalon Express, incidentally - they just need to host our container.
Expect to see a whitepaper on Avalon Express published on MSDN in the next week by Karen Corby, the Program Manager for this area.
What about the version of DirectX, is 9.0 good enough? Or 9.0b or whatever the newest is. I just had the feeling that DX10 was needed.
If it does XP/IE6, then that's pretty sweet. No need to wait to get clients going on things then.
It simply tells me the specified string for the Source is not valid. I tried to compile a simple sample (http://www.xamlshare.com/default.aspx/Text.Video%20clipped%20with%20text) including a video in Studio 2005. Compiles but throws a "class not registered" error mesaage when trying to access the video at runtime.
Any ideas an how to fix that? I am using a 64bit system - maybe that is the key? Other examples work ok (blackjack avalon express for example).
Mikx, I've seen a few problems with this in the past on Beta 1 - this is the first release that has video and some things are still a little flaky. A few things to try:
If you're still having challenges, please feel free to post a bug on MSDN Product Feedback and someone will take a look.
Good luck!
Tim
http://channel9.msdn.com/Screencasts/introductiontoxaml.wmv
Its just a shame that the quallity is poor. I hardly couldn't see that you created a button the first time. The video is delayed compared to the sounds! Very very annoying!
But its defently a great idea, to make videos about it(Really helped me ALOT! Thanks dude) I can't wait to see the next episode
Nice screencast. Thanks.
Two words:
Shape tables.
No, seriously (for those who know what I am talking about). Apple had them in the eighties. Nobody used them (except me maybe and a few others) because they were incredibly slow. But they were vector based (scaling, rotations, xdrawing allowed) graphics that you could easily access in a program. There was a tiny 7K program called DRAW, and another 24K one called TABLES which let you draw them onscreen, and then you tied the tables into your program. If you were diligent enough, you could call the shape table routines from assembly language. Primitive, yes, but not new territory by any means.
Regarding typefaces, I never believed that designers spent so much time on them until I actually took a typography/graphic design class (one of many as part of my major). It's unbelievable the amount of effort that can go into something so apparently simple as the letters you use onscreen or on paper.
Interestingly the card is only working on real Intel 32bit hardware and in combination with WinXP SP2. Intel32+Vista, AMD64+Vista64, AMD64+Vista32, AMD64+WinXP are not working with the same card. Surprisingly a real old S3 SavageDDR chip was at least able to play audio files - but no video (damn, no testing on my notebook).
Anyway, my ultimate goal was to get the stuff working in a Avalon Express Application. I can create, compile and run the Avalon Express C# template. Also adding a button to Pag1e.xaml works. But as soon as i add a MediaElement (even without source attribute) the PresentationHost crashes on startup.
Any idea? Creating those stuff as an Express Application would be really cool to create a web based Avalon Test Server (people could modifiy XAML files and when they open the test url, the server compiles the project and delivers the exe inside the browser).
Oh, and is there a way to interact with the presentation host via JScript? e.g. recieving events or user input from a "normal" html based website?
I'm looking forward to your next one.
i need some help in doing fade-in and fade-out on images...how would i do that?
I was looking for a good intro to XAML today, after watching the Sweet Vid on C9 demonstrating the 3d capabilities of XAML and WPF...wow, such perfect timing!
Update:
Okay, I just finished watching this video (and I'm downloading the second). I am so impressed with the XAML language so far that I cannot wait to start working on it with my own two hands.
I was a little upset that there was no dynamics in the first video, but heck, looks like the second video is going to address making an RSS reader in like 14 lines of code?
Jonathan
Waiting for your other channels...
Remove this comment
Remove this thread
close