开发者

What are assembly references for GetValue/SetValue for creating DependancyProperty

I have a hard time setting up a Silverlight Class Library project. In this project, I am trying to create a dependancy开发者_如何学Go property. The code requires to use SetValue and GetValue methods -- the project cannot resolve these methods. What do I need to reference to access these methods? Thank you for help.


I forgot to derive the class, which implements the dependancy property, from the "Control" base class. The reference to SetValue and GetValue methods now appear to be resolved.

public class ClassName: Control { ... }

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜