when scrolling element off canvas ensure it isnt visible
hi,
i have user control in want scrolling text. way implemented simple, gust have canvas , place text in there , create animation canvas moving across screen starting in position off main canvas on right hand side and scrolling position off canvas on left hand side.
this seemed work fine, when included user control larger usercontrol, found text scrolling visible when supposed to right or left of container canvas.
is supposed happen? how can resolve text seen when hits canvas belonging usercontrol on?
thanks
yep... can. canvas, in silverlight, not clip content (in wpf cans), can this:
<canvas height="115" horizontalalignment="left" margin="324,79,0,0" name="canvas1" verticalalignment="top" width="221"> <canvas.clip> <rectanglegeometry rect="0 0 221 115"/> </canvas.clip> <textblock canvas.left="-41" canvas.top="39" height="23" text="hola que tal, como te va?" /> </canvas>
Silverlight > Designing with Silverlight
Comments
Post a Comment