Simple WrapPanel : WrapPanel « Windows Presentation Foundation « C# / C Sharp






Simple WrapPanel

Simple WrapPanel
    

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Fun with Panels!" Height="284" Width="323">
  <WrapPanel Background="LightSteelBlue">
    <Label Name="lblInstruction" Width="328" Height="27" FontSize="15">Enter Car Information</Label>
    <Label Name="lblMake">Make</Label>
    <TextBox Name="txtMake" Width="193" Height="25"/>
    <Label Name="lblColor">Color</Label>
    <TextBox Name="txtColor" Width="193" Height="25"/>
    <Label Name="lblPetName">Pet Name</Label>
    <TextBox Name="txtPetName" Width="193" Height="25"/>
    <Button Name="btnOK" Width="80">OK</Button>
  </WrapPanel>
</Window>

   
    
    
    
  








Related examples in the same category

1.FlowDirection of WrapPanelFlowDirection of WrapPanel
2.WrapPanel with BackgroundWrapPanel with Background
3.Vertical WrapPanel WindowVertical WrapPanel Window
4.Set item width for WrapPanelSet item width for WrapPanel
5.Set ItemWidth and ItemHeight for WrapPanelSet ItemWidth and ItemHeight for WrapPanel
6.WrapPanel and Windows ControlsWrapPanel and Windows Controls
7.WrapPanel with VerticalAlignmentWrapPanel with VerticalAlignment