Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My First WPF App
Message
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
My First WPF App
Miscellaneous
Thread ID:
01460394
Message ID:
01460394
Views:
132
I'm following this tutorial: http://msdn.microsoft.com/en-us/library/bb546972(v=VS.100).aspx

I added the 3 controls called for under "Adding Controls to the Layout".

The XAML looks like this:
<Window x:Class="FolderExplorer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Folder Explorer" Height="400" Width="400">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="200*" />
            <RowDefinition Height="200*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200*" />
            <ColumnDefinition Width="200*" />
        </Grid.ColumnDefinitions>
        <TreeView Height="71" HorizontalAlignment="Left" Margin="34,33,0,0" Name="treeView1" VerticalAlignment="Top" Width="120" />
        <ListView Grid.Column="1" Height="100" HorizontalAlignment="Left" Margin="43,24,0,0" Name="listView1" VerticalAlignment="Top" Width="120" />
        <ListView Grid.Column="1" Grid.Row="1" Height="100" HorizontalAlignment="Left" Margin="22,22,0,0" Name="listView2" VerticalAlignment="Top" Width="120" />
    </Grid>
</Window>
This does not appear as though the 3 controls are inside the grid's Rows/Columns. Did I do this right?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform