This commit is contained in:
sherlockforrest
2023-06-20 09:22:53 +08:00
commit bf2ed2e31f
621 changed files with 271599 additions and 0 deletions

14
WPF/Markup Extension.md Normal file
View File

@@ -0,0 +1,14 @@
# 标记扩展
MarkupExtension派生类才能使用
可以嵌套
属性值不再加引号
```xaml
<TextBox Text="{Binding ElementName=slider,Path=Vaule,Mode=OneWay}"/>
```
```csharp
Binding binding=new Binding(){source=slider,Mode=OneWay};
```