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