开发者

How would I create a silverlight control for tagging content similar to StackOverflow?

I am new to Silverlight. How would I go about creating a control for users to tag content.

I would like it to work like it does it StackOverflow i.e. Autocomplete and when you press space it inserts the tag in a box with a remove button. I want the control to be bindable to a collection of 开发者_运维技巧strings.

If someone can just point me in the right direction to get me started I would be very grateful.


You need to start with an AutoComplete Textbox, there is already one available in the Silverlight Toolkit. Tim Heuer has several examples using it (he actually creates one himself in one of his posts somewhere), you can find one sample here. Once you have this in place, the rest of the control is pretty simple.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜