我有一个WCF项目和一个silverlight 4项目。 我需要将WCF的引用添加到silverlight项目中。 它需要system.windows dll,但我无法在添加参考下的.Net选项卡中看到它。 我该如何添加它? 编辑: 我收到的错误: Could not locate the assembly "System.Windows.Controls.Layout.Toolkit, Vers
我需要能够避免获得负值。当窗口浏览器调整大小时,我需要datagrid缩小,但不会达到负值以避免出现错误。那可能吗?先谢谢你。 这里是我的代码: public SilverlightResizeTest()
{
InitializeComponent();
// Set the height for the DataGrid when the browser wi
我有一个datagrid,我正在编程的内容,因为列将根据对象的复杂集合属性而更改。 有问题的对象有2个标准属性。 public class MyObject
{
private List<MyNameValuePairProps> props = new List<MyNameValuePairProps>();
public int Id { get; set; }