<UserControl x:Class="MMVSample.Views.ContactView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="300" Width="300"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.Column="0" Text="ContactId: "/> <TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding ContactId}"/> <TextBlock Grid.Row="1" Grid.Column="0" Text="FirstName: "/> <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding FirstName}"/> <TextBlock Grid.Row="2" Grid.Column="0" Text="LastName: "/> <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding LastName}"/> <TextBlock Grid.Row="3" Grid.Column="0" Text="Email: "/> <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding Email}"/> </Grid> </UserControl>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)