0
我在項目中引用了silverlight xaml文件。當我嘗試建立這個項目,它拋出以下錯誤Silverlight XAML文件錯誤:成員「Margin」無法識別或無法訪問
The member "Margin" is not recognized or is not accessible.
這裏是我的代碼:
<UserControl x:Class="DBServer.Selenium.Silvernium.ReferenceApplication.SilverlightFixture"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
<navigation:Frame x:Name="frameContent" Source="/MainPage.xaml" Margin="0,0,0,0"/>
</UserControl>
我也沒有看到任何問題。也許你可以刪除導航控件,編譯解決方案。然後再添加它,編譯它。我想其他錯誤會導致保證金的錯誤。 –