It is very similar to an HTML file that you create in Notepad and add it to your files/folders like this one:
Type in Notepad the following one line:
and now save it as TestHTML and save it as a HTML file (not the .txt extension) to your desktop. When you double click this file, your browser (IE perhaps) displays the following:
Hello, HTML
Sometimes it is also called a HTML fragment.
Likewise you can store a loose XAML file as shown:
Type the following in Notepad and save it as a file with extension .XAML to your files/folders.
http://schemas.microsoft.com/winfx/2006/xaml/presentation
" FontWeight="Bold">Type in Notepad the following one line:
Hello, HTML
and now save it as TestHTML and save it as a HTML file (not the .txt extension) to your desktop. When you double click this file, your browser (IE perhaps) displays the following:
Hello, HTML
Sometimes it is also called a HTML fragment.
Likewise you can store a loose XAML file as shown:
Type the following in Notepad and save it as a file with extension .XAML to your files/folders.
Hello, XAML
Now open this file using IE (this is usually at C:\Program Files\Internet Explorer\iexplore.exe)
You will see the following:
Hello, XAML
For a loose XAML file you should havethe following:
•Contains only XAML (that is, no code).
•Has an appropriate namespace declaration.
•Has the .xaml file name extension.
No comments:
Post a Comment