This project has moved. For the latest updates, please go here.

PhysicsObjects Falling Outside Silverlight Control

Topics: Developer Forum
Jul 23, 2009 at 3:41 PM

The main UserControl is set to 640x480.  I have some falling objects that bounce on the ground and then roll off.  Right now they roll off the sides of the UserControl hosted in Silverlight and then down the screen outside the Silverlight control.  Is there a way to get them to roll off the sides of the UserControl and be clipped so they don't fall down the web page?

Jul 23, 2009 at 5:32 PM

In our Silverlight samples we have a border that prevents the geometries getting outside the window. You can simply grab the Silverlight samples from our downloads section and get the border code.