开发者

Is it possible to create a generic UserControl in SL3

开发者 https://www.devze.com 2023-02-12 12:31 出处:网络
I\'m planning on creating a crud-screen with the folliwing template: on the left side there\'ll be a list of objects, and clicking on an object will bring up a screen for editing or adding it (it woul

I'm planning on creating a crud-screen with the folliwing template: on the left side there'll be a list of objects, and clicking on an object will bring up a screen for editing or adding it (it would probably have it's own Save button that would call the web service)

Since the same scenario can be used for many d开发者_StackOverflow中文版ifferent objects, I would like to create a reusable control and then just pass it an object type. Is something like that possible?


It is possible. You need to look up "creating templateable silverlight controls".

0

精彩评论

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