xml name spaces

  • Thread starter Thread starter tshad
  • Start date Start date
T

tshad

In WPF, you have to have the following in your xaml file:

<Window x:Class="SeeThru.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="SeeThru" Height="300" Width="300"

If you don't have the xmlns lines or you call it anything else, the compiler
will give you an error.

And some of your code will give you errors, such as x:fkey for instance.
These are not actual urls. If you put them in your browser, you will get
"page cannot be found".

What are they for ?

Why a URL that doesn't exist?

You don't have to have your computer connected to run this, so obviously it
is not being checked.

Thanks,

Tom
 
Back
Top