StackPanel with Button, Ellipse and ListBox : StackPanel « 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 » StackPanelScreenshots 
StackPanel with Button, Ellipse and ListBox
StackPanel with Button, Ellipse and ListBox
      
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      WindowTitle="Xaml Page">
    <StackPanel>

        <Button HorizontalAlignment="Center" Margin="24">
            Hello, XAML!
        </Button>

        <Ellipse Width="200" Height="100" Margin="24" 
                 Stroke="Red" StrokeThickness="10" />

        <ListBox Width="100" Height="100" Margin="24">
            <ListBoxItem>Sunday</ListBoxItem>
            <ListBoxItem>Monday</ListBoxItem>
            <ListBoxItem>Tuesday</ListBoxItem>
            <ListBoxItem>Wednesday</ListBoxItem>
            <ListBoxItem>Thursday</ListBoxItem>
            <ListBoxItem>Friday</ListBoxItem>
            <ListBoxItem>Saturday</ListBoxItem>
        </ListBox>

    </StackPanel>
</Page>

   
    
    
    
    
    
  
Related examples in the same category
1.Set DataContext for StackPanelSet DataContext for StackPanel
2.Arrange UI Elements in a Horizontal or Vertical StackArrange UI Elements in a Horizontal or Vertical Stack
3.StackPanel with Image BackGroundStackPanel with Image BackGround
4.Vertical StackPanelVertical StackPanel
5.Horizontal StackPanelHorizontal StackPanel
6.Put buttons to StackPanelPut buttons to StackPanel
7.Focus scope for StackPanelFocus scope for StackPanel
8.Add Button and TextBox to StackPanelAdd Button and TextBox to StackPanel
9.Align left along StackPanelAlign left along StackPanel
10.StackPanel with MinHeight, MinWidth, VerticalAlignment, HorizontalAlignmentStackPanel with MinHeight, MinWidth, VerticalAlignment, HorizontalAlignment
11.StackPanel with Label and TextBoxStackPanel with Label and TextBox
12.StackPanel search layoutStackPanel search layout
13.Using StackPanel to group elements for absolute positioningUsing StackPanel to group elements for absolute positioning
14.Search for an element by using Panel.FindName()Search for an element by using Panel.FindName()
15.Change StackPanel OrientationChange StackPanel Orientation
16.Use the methods that are defined by the IScrollInfo interface to scroll the child content of a StackPanel.Use the methods that are defined by the IScrollInfo interface to scroll the child content of a StackPanel.
17.Use StackPanel to arrange child objects in a single line that you can align horizontally or vertically.Use StackPanel to arrange child objects in a single line that you can align horizontally or vertically.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.