fix: 1. simplify code for nullable control event assignment.

2. make textbox readonly and dragpanel visible controlled in code behind.
3. Use compile binding in demo.
This commit is contained in:
rabbitism
2024-03-21 17:25:55 +08:00
parent 7170691b52
commit 090be3ce3b
3 changed files with 71 additions and 63 deletions

View File

@@ -5,6 +5,9 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:u="https://irihi.tech/ursa"
xmlns:vm="using:Ursa.Demo.ViewModels"
x:DataType="vm:NumericUpDownDemoViewModel"
x:CompileBindings="True"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">