开发者

How to create ScrollViewer CustomControl/UserControl in Silverlight 4.0

I am having some trouble for creating a usercontrol for scrollviewer, I have style the scrollBar acco开发者_JAVA技巧rding to our design and theme. I want to incorporate ScrollBar in ScrollViewer, i am notable to create a custom control because ScrollViewer is a sealed class. please help me, and suggest me if there is another solution for that, Thanks.


If all you are doing is styling the Scrollbars then you just need to create a style the for the ScrollViewer. Take the default style for it from here. Then adjust the Scrollbars inside it to use your new Scrollbar style.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜