Initial project snapshot
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
<UserControl x:Class="RemoteAccessPlatform.Windows.App.Views.ResourceListView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:appres="clr-namespace:RemoteAccessPlatform.Windows.Application.Localization;assembly=RemoteAccessPlatform.Windows.Application"
|
||||
mc:Ignorable="d">
|
||||
<Border Padding="16"
|
||||
Background="White"
|
||||
BorderBrush="#FFD9DDE5"
|
||||
BorderThickness="1"
|
||||
CornerRadius="12">
|
||||
<DockPanel>
|
||||
<StackPanel DockPanel.Dock="Top"
|
||||
Orientation="Horizontal"
|
||||
Margin="0,0,0,12">
|
||||
<TextBlock VerticalAlignment="Center"
|
||||
FontSize="18"
|
||||
FontWeight="SemiBold"
|
||||
Text="{x:Static appres:Strings.ResourceHeading}" />
|
||||
<Button Margin="16,0,0,0"
|
||||
AutomationProperties.AutomationId="RefreshResourcesButton"
|
||||
AutomationProperties.Name="{x:Static appres:Strings.RefreshResources}"
|
||||
Command="{Binding RefreshResourcesCommand}"
|
||||
Content="{x:Static appres:Strings.RefreshResources}" />
|
||||
</StackPanel>
|
||||
|
||||
<ListView ItemsSource="{Binding Resources}"
|
||||
AutomationProperties.AutomationId="ResourceListView"
|
||||
AutomationProperties.Name="{x:Static appres:Strings.ResourceHeading}"
|
||||
SelectedItem="{Binding SelectedResource}">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Header="{x:Static appres:Strings.ResourceColumnName}"
|
||||
Width="220"
|
||||
DisplayMemberBinding="{Binding Name}" />
|
||||
<GridViewColumn Header="{x:Static appres:Strings.ResourceColumnType}"
|
||||
Width="90"
|
||||
DisplayMemberBinding="{Binding Protocol}" />
|
||||
<GridViewColumn Header="{x:Static appres:Strings.ResourceColumnHost}"
|
||||
Width="220"
|
||||
DisplayMemberBinding="{Binding Address}" />
|
||||
<GridViewColumn Header="{x:Static appres:Strings.ResourceColumnCert}"
|
||||
Width="100"
|
||||
DisplayMemberBinding="{Binding CertificateVerificationMode}" />
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
</ListView>
|
||||
</DockPanel>
|
||||
</Border>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user