razor支持

This commit is contained in:
小红帽
2024-01-09 17:47:19 +08:00
parent ac3faaa8ed
commit 09727c75e1
2 changed files with 17 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
{
<Panel Background="#0f0" Width="20" Height="30" MarginLeft="10"></Panel>
}
<TextBox @ref="textBox" Text="text" Width="100" Height="30" TextChanged="TextChanged"></TextBox>
<TextBox @ref="textBox" @bind-Text="text" Width="100" Height="30"></TextBox>
<Button @ref="button"><CheckBox>@enable</CheckBox></Button>
<ListBox @ref="listBox" Width="200" Height="200" Items="list"></ListBox>
</StackPanel>