我需要你的幫助!silverlight錯誤?
我有一些用戶控件在鼠標懸停在該關鍵字扔了一個奇怪的錯誤
class Puzzle : UserControl {
public void Animate()
{
this.SetValue(Canvas.TopProperty, 0.0); // expression has been evaluated and has no value
}
}
什麼是錯的這種做法?
我需要你的幫助!silverlight錯誤?
我有一些用戶控件在鼠標懸停在該關鍵字扔了一個奇怪的錯誤
class Puzzle : UserControl {
public void Animate()
{
this.SetValue(Canvas.TopProperty, 0.0); // expression has been evaluated and has no value
}
}
什麼是錯的這種做法?
從您的後續評論中,您正在嘗試觀看method call on a method that has a void return type。
調試器試圖告訴你它沒有任何價值。
嘗試在匹配的GetValue方法上添加一個手錶,而不是:)
哪個錯誤你有嗎? – 2011-06-09 10:55:57
「這個關鍵字」?什麼關鍵字?確實意味着'this'關鍵字。 – AnthonyWJones 2011-06-09 12:24:28
無法重現 – AnthonyWJones 2011-06-09 12:57:32