Thursday, 15 November 2012

Removing ScrollViewer border from Listbox

Another one I always forget…  this example also removes the scrollviewer but you can can easily add it in after without the 1 margin that comes with the default Listbox.

<ListBox.Template>
<ControlTemplate>
<ItemsPresenter />
</ControlTemplate>
</ListBox.Template>

No comments:

Post a Comment