2ff390d577
- Primo commit.
62 lines
2.2 KiB
XML
62 lines
2.2 KiB
XML
<Grid x:Class="SearchClientPageV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:LicenseManager="clr-namespace:LicenseManager"
|
|
DataContext="{StaticResource SearchClientPageVM}">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border BorderBrush="Black"
|
|
BorderThickness="1"
|
|
Height="75"
|
|
Grid.ColumnSpan="2">
|
|
<TextBlock Height="50"
|
|
Text="{Binding SearchClientMsg}"
|
|
FontSize="30"
|
|
TextAlignment="Center"/>
|
|
</Border>
|
|
|
|
<LicenseManager:ClientPageV Grid.Row="1"
|
|
Grid.ColumnSpan="2"/>
|
|
|
|
<DataGrid ItemsSource="{Binding SearchResult}"
|
|
SelectedItem="{Binding SelSearchResult}"
|
|
AutoGenerateColumns="False"
|
|
Grid.Row="2">
|
|
|
|
<DataGrid.Columns>
|
|
|
|
<DataGridTextColumn Header="Name"
|
|
Binding="{Binding Name, Mode=OneWay}"
|
|
Width="1*"/>
|
|
<DataGridTextColumn Header="Reseller Name"
|
|
Binding="{Binding ResellerName, Mode=OneWay}"
|
|
Width="1*"/>
|
|
<DataGridTextColumn Header="E-mail address"
|
|
Binding="{Binding Email, Mode=OneWay}"
|
|
Width="1*"/>
|
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
|
|
|
<UniformGrid Grid.Row="3" Columns="3">
|
|
<Button Content="{Binding SearchMsg}"
|
|
Command="{Binding SearchClient_Command}"
|
|
IsDefault="True"
|
|
Style="{StaticResource Page_Button}"/>
|
|
<Button Content="{Binding CancelMsg}"
|
|
Command="{Binding Cancel_Command}"
|
|
Style="{StaticResource Page_Button}"/>
|
|
<Button Content="{Binding UpdateMsg}"
|
|
Command="{Binding UpdateClient_Command}"
|
|
Style="{StaticResource Page_Button}"/>
|
|
</UniformGrid>
|
|
|
|
</Grid>
|