Silverlight 命名空间

默认的命名空间 Silverlight 都使用了默认命名空间
xmlns="http:schemas.microsoft.com/winfx/2006/xaml/presentation"


x 命名空间专门给 XAML 的命名空间
xmlns:x="http:schemas.microsoft.com/winfx/2006/xaml"


专门给 Windows Phone 提供了以下两个命名空间
Phone 命名空间提供 Windows Phone 上的控件
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"


shell 命名空间管理 Windows Phone 的生命周期 App.xaml 文件
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"


d 命名空间的目的在于可以呈现一些设计时的数据 , 仅供设计时使用 , 可以用来定义设计时的一些信息
xmlns:d=" http://schemas.microsoft.com/expression/blend/2008"


mc命名空间是一个布局的兼容性
xmlns:mc="http:schemas.openxmlformats.org/markup-compatibility/2006"


mc:Ignorable="d" 是说 , xaml 的解析器会把所有 d:标签的信息给忽略掉 , 不解析呈现
mc:Ignorable="d" d: DesignWidth="480" d: DesignHeight="800"

你可能感兴趣的:(silverlight)