StackPanel with Windows Controls : Label « Windows Presentation Foundation « VB.Net






StackPanel with Windows Controls

StackPanel with Windows Controls
       
<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Fun with Panels!" Height="313" Width="532">
  <StackPanel Background="LightSteelBlue" Orientation ="Horizontal">
    <Label Name="lblInstruction" FontSize="15">Information</Label>
    <Label Name="lblA">A</Label>
    <TextBox Name="txtA"/>
    <Label Name="lblB">B</Label>
    <TextBox Name="txtColor"/>
    <Label Name="lblC">C</Label>
    <TextBox Name="txtPetName"/>
    <Button Name="btnOK">OK</Button>
  </StackPanel>
</Window>

   
    
    
    
    
    
    
  








Related examples in the same category

1.Label with Data BindingLabel with Data Binding
2.String Label contentString Label content
3.Event Trigger Label.LoadedEvent Trigger Label.Loaded
4.Access key underline with LabelAccess key underline with Label
5.DockPanel with LabelsDockPanel with Labels