This repository was archived by the owner on Dec 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResearcherView.xaml
More file actions
72 lines (70 loc) · 7 KB
/
ResearcherView.xaml
File metadata and controls
72 lines (70 loc) · 7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<Window x:Class="RAP_Assignment.ResearcherView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:RAP_Assignment"
mc:Ignorable="d"
d:DesignHeight="860
" d:DesignWidth="800">
<Grid RenderTransformOrigin="0.505,0.495" Height="NaN" Margin="0,0,0,-6">
<Grid.RowDefinitions>
<RowDefinition Height="203*"/>
<RowDefinition Height="222*"/>
</Grid.RowDefinitions>
<StackPanel Margin="0,0,0,30" Orientation="Vertical">
<Border BorderThickness="2" Height="286" Width="175" HorizontalAlignment="Left" Margin="10,50,0,0">
<Image x:Name="ResearcherImage" HorizontalAlignment="Center" Width="169"/>
</Border>
</StackPanel>
<StackPanel HorizontalAlignment="Left" Margin="250,325,0,0" Orientation="Vertical">
<TextBox x:Name="SupervisionsText" TextWrapping="Wrap" Text="Supervisions:" Width="239" TextDecorations="Underline" Background="#4C1E1E1E" Height="18"/>
<ListView x:Name="SupervisionsList" ItemsSource="{Binding Supervisions}" Height="64" Width="240" Background="#4C1E1E1E" Visibility="Collapsed">
<ListView.View>
<GridView>
<GridViewColumn DisplayMemberBinding="{Binding givenName}" Header="Given Name"/>
<GridViewColumn DisplayMemberBinding="{Binding familyName}" Header="Family Name"/>
</GridView>
</ListView.View>
</ListView>
</StackPanel>
<StackPanel HorizontalAlignment="Left" Margin="250,50,0,0" Orientation="Vertical" VerticalAlignment="Top">
<TextBox x:Name="Name" TextWrapping="Wrap" Text="Name" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="School_Unit" TextWrapping="Wrap" Text="School/Unit" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Campus" TextWrapping="Wrap" Text="Campus" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Email" TextWrapping="Wrap" Text="Email" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Current_Job_Title" TextWrapping="Wrap" Text="Current Job Title" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Commence_with_Institute" TextWrapping="Wrap" Text="Commenced with Institution" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Commenced_current_position" TextWrapping="Wrap" Text="Commenced current position" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Tenure" TextWrapping="Wrap" Text="Tenure" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Q1_Percentage" TextWrapping="Wrap" Text="Q1 Percentage" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="_3_year_Average" TextWrapping="Wrap" Text="3-year Average" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Funding_received" TextWrapping="Wrap" Text="Funding received" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Performance_by_publication" TextWrapping="Wrap" Text="Performance by publication" Width="238" Height="18" AutomationProperties.IsOffscreenBehavior="Onscreen" IsReadOnly="True"/>
<TextBox x:Name="Performance_by_funding_received" TextWrapping="Wrap" Text="Performance by funding received" Width="238" Height="18" IsReadOnly="True"/>
<TextBox x:Name="Degree" TextWrapping="Wrap" Text="Degree" Width="238" IsReadOnly="True" Height="18"/>
<TextBox x:Name="Supervisor" TextWrapping="Wrap" Text="Supervisor" Width="238" IsReadOnly="True" Height="18"/>
</StackPanel>
<TextBox x:Name="Performace" TextWrapping="Wrap" Text="Performance" Width="238" IsReadOnly="True" Height="18" HorizontalAlignment="Left" Margin="250,284,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="___Title_" HorizontalAlignment="Center" Margin="0,10,0,0" TextWrapping="Wrap" Text="RESEARCHER DETAILS" VerticalAlignment="Top" Width="128" Height="20" TextDecorations="Underline" IsReadOnly="True"/>
<Button x:Name="Count" Content="View Cumulative Count" Margin="0,50,100,0" HorizontalAlignment="Right" Width="143" Height="29" VerticalAlignment="Top"/>
<Rectangle HorizontalAlignment="Center" Height="453" Margin="0,86,0,0" Grid.Row="1" Stroke="Black" VerticalAlignment="Top" Width="2711"/>
<TextBox HorizontalAlignment="Left" Margin="23,105,0,0" Grid.Row="1" TextWrapping="Wrap" Text="Sort publication" VerticalAlignment="Top" Width="120" TextDecorations="Underline" IsReadOnly="True" Height="18"/>
<TextBox HorizontalAlignment="Left" Margin="336,105,0,0" Grid.Row="1" TextWrapping="Wrap" Text="Publications:" VerticalAlignment="Top" Width="120" TextDecorations="Underline" IsReadOnly="True" Height="18"/>
<TextBox HorizontalAlignment="Left" Margin="23,141,0,0" Grid.Row="1" TextWrapping="Wrap" Text="Filter by year (earliest to latest):" VerticalAlignment="Top" Width="176" IsReadOnly="True" Height="18"/>
<TextBox x:Name="StartYearTextBox" HorizontalAlignment="Left" Margin="23,199,0,0" Grid.Row="1" TextWrapping="Wrap" Text="Start Year" VerticalAlignment="Top" Width="72" Height="26" Background="#FF646464"/>
<TextBox HorizontalAlignment="Left" Margin="102,203,0,0" Grid.Row="1" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Width="20" Height="18" IsReadOnly="true"/>
<TextBox x:Name="EndYearTextBox" HorizontalAlignment="Left" Margin="127,199,0,0" Grid.Row="1" TextWrapping="Wrap" Text="End Year" VerticalAlignment="Top" Width="72" Height="26" Background="#FF646464"/>
<ListView x:Name="PublicationListBox" Grid.Row="1" ItemsSource="{Binding Publications}" SelectedItem="{Binding selectedPublication}" Margin="336,141,150,23" SelectionChanged="PublicationListBox_SelectionChanged">
<ListView.View>
<GridView>
<GridViewColumn DisplayMemberBinding="{Binding year}" Header="Year"/>
<GridViewColumn DisplayMemberBinding="{Binding title}" Header="Title"/>
</GridView>
</ListView.View>
</ListView>
<Button x:Name="Invert_Yearly_Sort_Order" Content="Invert Yearly Sort Order" HorizontalAlignment="Left" Margin="468,102,0,0" Grid.Row="1" VerticalAlignment="Top" Height="23" Width="136" Background="Red" Click="Button_Click_1"/>
<Button x:Name="ExpandButton" Content="EXPAND SUPERVISIONS --->" HorizontalAlignment="Left" Margin="9,323,0,0" VerticalAlignment="Top" Height="81" Width="176" Background="#FFFDFF00" Click="Button_Click_2"/>
<Button x:Name="SortByYear" Margin="12,231,0,163" HorizontalAlignment="Left" Height="50" Width="200" Content="Sort" Background="#FF0B5216" Grid.Row="1" Click="SortByYear_Click"/>
</Grid>
</Window>