Introduction Here in this article I am explaining that how you can wrap Buttons or controls in a WrapPanel. A WrapPanel is similar to the StackPanel but it does not just stack all elements to one row. If their is no space it wraps the elements in newline. Wrappanels are another type of Layout container that you can use to organize and position elements in xaml. a WrapPanel is also said to be a StackPanel and Web enabled. Here we take a Grid, two WrapPanel and eighteen buttons and we are Wrapping nine buttons in one WrapPanel with a color and nine in another WrapPanel. Getting Started