WrapPanel with FlowDirection : WrapPanel « Windows Presentation Foundation « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Development
8.Event
9.File Directory
10.Generics
11.GUI
12.Language Basics
13.LINQ
14.Network Remote
15.Security
16.Thread
17.Windows Presentation Foundation
18.Windows System
19.XML
20.XML LINQ
VB.Net Tutorial
VB.Net by API
VB.Net » Windows Presentation Foundation » WrapPanelScreenshots 
WrapPanel with FlowDirection
WrapPanel with FlowDirection
     

<Window x:Class="StackPanelDemo.WrapPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="WrapPanelDemo" Height="300" Width="420">
    <Grid>
      <WrapPanel MinHeight="50" MinWidth="50" VerticalAlignment="Stretch" 
                 HorizontalAlignment="Stretch" Grid.Column="0" Grid.ColumnSpan="1" 
                 Grid.Row="0" Grid.RowSpan="1" Margin="12,16,4,49" Width="Auto" 
                 Height="Auto" Name="wrapPanel1" Orientation="Vertical" FlowDirection="LeftToRight">
        <Button>1</Button>
        <Button>2</Button>
        <Button>3</Button>
        <Button>4</Button>
        <Button>5</Button>
        <Button>6</Button>
        <Button>7</Button>
      </WrapPanel>
  </Grid>
</Window>

   
    
    
    
    
  
Related examples in the same category
1.Arrange UI Elements Into Automatically Wrapping Rows or ColumnsArrange UI Elements Into Automatically Wrapping Rows or Columns
2.WrapPanel with Label and TextBoxWrapPanel with Label and TextBox
3.Put rectangles to WrapPanelPut rectangles to WrapPanel
4.Instantiate and use a WrapPanel elementInstantiate and use a WrapPanel element
5.Wrap Buttons to WrapPanelWrap Buttons to WrapPanel
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.