ScatterViewItems Containing Surface Interactive Elements
Posted
by James Hay
on Stack Overflow
See other posts from Stack Overflow
or by James Hay
Published on 2009-06-15T15:08:06Z
Indexed on
2010/03/08
13:06 UTC
Read the original article
Hit count: 640
This is an age old problem of interactive elements inside interactive elements, but I want a ScatterViewItem to contain other surface interactive elements such as a SurfaceButton or SurfaceCheckBox. I've got all my elements in there and they react to taps etc. The problem is that I only get the normal ScatterView behavior once I click on an area that does not contain a control.
Is there an elegant solution to allow dragging even when the contact is on a SurfaceButton or SurfaceCheckbox?
e.g.
<s:ScatterView >
<Grid Width="200" Height="200">
<s:SurfaceButton />
</Grid>
</s:ScatterView>
© Stack Overflow or respective owner