English 中文(简体)
如何诊断银光视觉问题
原标题:How to Diagnose Silverlight Visual Problems

我有银灯4代码像这样,

<controlsToolkit:BusyIndicator IsBusy="{Binding IsBusy}">
    <telerik:RadComboBox IsEnabled="{Binding IsEnabled, Mode=TwoWay}"/>
</controlsToolkit:BusyIndicator>

这在一定程度上简化了问题, 但主要是如果我在加载某些数据时将 IsBusy 设置为真实, 然后设置为假的 RadCombombox 禁用, 并按预想正确允许 。

如果我将我的应用程序编译出来, 并将其发布到 IS 中, 当我将 IsBusy 设为真实时, RadCombombox 禁用了它, 但当我设为 IsBusy 设为虚假之后, 它再也不能启用它 。

我无法用运行 VS 的正常感觉来调试它, 并启动我的机器。 我有一些想法可以让我知道更多信息, 但两个都无法工作 。

1) 我试图将 VS 调试器附加到运行 IS 应用程序实例的 IE 上。 我添加的断点已中断, 并说符号没有装入 。 也许这是因为这是软件的发布版本而不是调试?

2) 我试图利用银灯间谍来弄清究竟发生了什么事情。 不像Snoop一样,我无法看清是什么决定了Isabled财产。 比如,它继承了它,或者它是在观景模型中设置的,或者直接控制它等等。

问题回答

如果我把它改成这样,它的工作原理,

<controlsToolkit:BusyIndicator IsBusy="{Binding IsBusy}">
    <telerik:RadComboBox IsEnabled="{Binding IsEnabled}"/>
</controlsToolkit:BusyIndicator>

I. e. 删除模式= 2Way 从 RadCombombox 装订中移除。 必须是远程控制或忙点指示器控制中的错误。 我无法用其他方式解释 。





相关问题
.NET 4 SDK corrupted? with Silverlight 4 Tools install

I installed Silverlight 4 and now my C# projects that use some of the new .NET 4 classes like System.Threading.Parallel and System.Numerics.BigInteger don t appear to be present. Have tried ...

Silverlight - Dual Screens in Out of Browser Application

Is there any way to create a Silverlight "Out of Browser" Application that can have two windows each on it s own screen and have these two windows communicate? Apparently in Silverlight 4 you can "...

Streaming a webcam from Silverlight 4 (Beta)

The new webcam stuff in Silverlight 4 is darned cool. By exposing it as a brush, it allows scenarios that are way beyond anything that Flash has. At the same time, accessing the webcam locally seems ...

Why change from WPF to Silverlight 4?

I m working on an application we made WPF instead of Silverlight as we wanted a full blown desktop application with the whole unique feeling and advantages that gives. However, with the announcement ...

热门标签