KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I know a only little about dock panel, following is the code is used: <DockPanel LastChildFill="True" > <StackPanel Orientation="Horizontal" DockPanel.Dock="Top" VerticalAlignment="Center" Margin="10" > <StackPanel Orientation="Horizontal" DockPanel.Dock="Left" VerticalAlignment="Center" > <TextBlock Height="24" Name="Welcome" Text="Welcome" FontSize="14" /> </StackPanel> <StackPanel Orientation="Horizontal" DockPanel.Dock="Right" VerticalAlignment="Center" > <TextBlock Height="24" Name="Welcomee" Text="Welcomee" FontSize="14" /> </StackPanel> </StackPanel> </DockPanel> The result is like this: WelcomeWelcomee However, the code must result in something like this: Welcome Welcomee So could you please tell me where I misunderstood the concept.
Tags (comma-separated)
Save Edits
Cancel