【发布时间】:2010-11-18 16:28:32
【问题描述】:
我制作了我的第一个 WPF 控件:
<UserControl x:Class="Dealogic.VisualStudio.UI.DatabaseManager.Controls.TargetInstance"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="300" Width="300">
<Grid>
<DataGrid ItemsSource="{Binding Customers}" />
</Grid>
在 DataGrid 控件上它说: “未找到类型数据网格,请确认您没有丢失程序集引用”
我正在 Win Forms 应用程序中创建控件。我需要包含哪些程序集以及如何在 XAML 中执行此操作?
谢谢
【问题讨论】:
标签: c# .net wpf vb.net silverlight