【发布时间】:2011-03-10 16:57:21
【问题描述】:
我想了解下面 x:Key 属性的标记扩展是做什么的,它是什么类型的标记扩展?
<Window x:Class="App1.Window1" xmlns:dxg="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DataTemplate x:Key="{dxg:Example ResourceKey=Example}">
<dxg:TextEdit Text="123/>
</DataTemplate>
</Window>
谢谢。
【问题讨论】:
标签: c# wpf xaml markup-extensions