Windows runtime IBehavior和Caliburn Micro,参考文献

Windows runtime IBehavior和Caliburn Micro,参考文献,windows-runtime,windows-store-apps,caliburn.micro,behavior,win-universal-app,Windows Runtime,Windows Store Apps,Caliburn.micro,Behavior,Win Universal App,我正在构建Windows通用应用程序(适用于Windows phone)并尝试使用行为。该应用程序使用Caliburn micro 2.0框架 行为是这样的: public class ProgressIndicatorBehavior : DependencyObject, IBehavior { ... } xmlns:i="using:Microsoft.Xaml.Interactivity" <i:Interaction.Behaviors> <beh

我正在构建Windows通用应用程序(适用于Windows phone)并尝试使用行为。该应用程序使用Caliburn micro 2.0框架

行为是这样的:

public class ProgressIndicatorBehavior : DependencyObject, IBehavior
{
   ...
}
xmlns:i="using:Microsoft.Xaml.Interactivity"

<i:Interaction.Behaviors>
    <behaviors:ProgressIndicatorBehavior IsVisible="{Binding IsLoading}/>
</i:Interaction.Behaviors>
在我看来,我使用这样的行为:

public class ProgressIndicatorBehavior : DependencyObject, IBehavior
{
   ...
}
xmlns:i="using:Microsoft.Xaml.Interactivity"

<i:Interaction.Behaviors>
    <behaviors:ProgressIndicatorBehavior IsVisible="{Binding IsLoading}/>
</i:Interaction.Behaviors>
xmlns:i=“使用:Microsoft.Xaml.Interactivity”

完全略过了你的问题。2个Microsoft.XAML.*文件就是行为。。删除对Behavior SDK的引用,您应该会很好