开发者

Prism's ItemsControl seems to have a xaml parse error. Why?

开发者 https://www.devze.com 2022-12-11 08:58 出处:网络
I am at a loss as to why my She开发者_运维技巧ll.xaml\'s ItemsControl is causing a parse error. I know the syntax is correct because I copied the Silvelright project files from a working project.

I am at a loss as to why my She开发者_运维技巧ll.xaml's ItemsControl is causing a parse error. I know the syntax is correct because I copied the Silvelright project files from a working project.

Right now my only guess is that ItemsControl is dependent on something else.

Here is the relevant xaml line for ItemsControl.

<ItemsControl x:Name="Region" 
                      VerticalAlignment="Center" 
                      HorizontalAlignment="Center" 
                      Regions:RegionManager.RegionName="Region"/>


i found that i wasn't Resolving my shell using unity. I had accidentally left it as VisualElement = new Shell.

0

精彩评论

暂无评论...
验证码 换一张
取 消