Scrolling buttons in WrapPanel one by one
-
Pls someone help me out ! I set a WrapPanel in a ScrollViewer. There are some buttons inside. With the ScrollViewer.CanContentScroll set to true, the buttons are not scrolling up/down by item one by one. The scroll style is still by pixel. But if its a StackPanel instead of the WrapPanel, its ok. The problem is that i really need a WrapPanel. Is it impossible to afford it? Tkx Pedro <ScrollViewer CanContentScroll="True"> <WrapPanel Name="wrapPanel" ScrollViewer.CanContentScroll="True"> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button> <Button>Button1</Button>