gjallarhorn

    3热度

    1回答

    其中一个较小的项目需要功能更改...所以我决定更新Gjallarhorn.Bindable.Wpf库的版本。 实际上,我只是在需要的地方添加了一个附加参数。 但是现在应用程序无法正常工作,因为可以通过命令调用的函数获得两次调用。 最小例子如下: type Message = |Number of int let rand = Random() let mbindings _ source _

    6热度

    1回答

    窗口上有几个按钮,我尝试找到处理命令的好方法。 例如: 我必须执行某些操作: type Action = |Show |Open |Input |Change |Statistic 翻译这个到XAML将是: <Button Command="{Binding ShowCommand}" /> <Button Command="{Binding

    5热度

    1回答

    关于MVVM中显示对话框窗口的几种好方法存在很多问题。但我看到Gjallarhorn看起来不同。 我必须显示几个对话框,例如每个对话框有一个动作。 type Action = |Show |Open |Input |Change |Statistic 窗口 module Views open FsXaml ... type Stat