Logo 
Search:

WPF Articles

Submit Article
Home » Articles » WPF » XAMLRSS Feeds

Wrap Panel Layout in XAML

Posted By: Vivek Patel     Category: WPF     Views: 5379

This article will explain Wrap Panel Layout in XAML. A very simple tutorial to understand Wrap Panel Layout in XAML.

Understanding Wrap Panel Layout

  • Wrap Panel lays out items from left to right

Example of Wrap Panel Layout

<WrapPanel>
    <Label Content="Wrap Panel Layout Demo" 
    FontSize="15" FontWeight="Bold"
    Foreground="Blue"/>

    <Label Content="Label1" FontSize="15" FontWeight="Bold" />
    <Label Content="Label2" FontSize="15" FontWeight="Bold" />
    <Label Content="Label3" FontSize="15" FontWeight="Bold" />
    <Label Content="Label4" FontSize="15" FontWeight="Bold" />
    <Label Content="Label5" FontSize="15" FontWeight="Bold" />
    <Label Content="Label6" FontSize="15" FontWeight="Bold" />
    <Label Content="Label7" FontSize="15" FontWeight="Bold" />
    <Label Content="Label8" FontSize="15" FontWeight="Bold" />
    <Label Content="Label9" FontSize="15" FontWeight="Bold" />
    <Label Content="Label10" FontSize="15" FontWeight="Bold" />
    <Label Content="Label11" FontSize="15" FontWeight="Bold" />
    <Label Content="Label12" FontSize="15" FontWeight="Bold" />
    <Label Content="Label13" FontSize="15" FontWeight="Bold" />
    <Label Content="Label14" FontSize="15" FontWeight="Bold" />
    <Label Content="Label15" FontSize="15" FontWeight="Bold" />
    <Label Content="Label16" FontSize="15" FontWeight="Bold" />
</WrapPanel>

Output

  
Share: 

 
 
 

Didn't find what you were looking for? Find more on Wrap Panel Layout in XAML Or get search suggestion and latest updates.

Vivek Patel
Vivek Patel author of Wrap Panel Layout in XAML is from United States. Vivek Patel says

I have started working in .Net Technology since its beta release and lucky to got chance to work on .Net 1.1, 2.0 and now working on .Net 3.5. I have worked in both C# and VB.Net for Asp.net Projects. I can also provide Sharepoint development needs. I can efficiently switch role from Tech Lead and Developer. I have comprehensive knowledge of Asp.net Development. I have been award Microsoft Most Valuable Award twice in Asp.net Technology.

Blog: http://dotnetguts.blogspot.com

 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!