-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSearchResult.xaml
28 lines (28 loc) · 1.53 KB
/
SearchResult.xaml
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
<Window x:Class="SylverInk.SearchResult"
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:local="clr-namespace:SylverInk"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=local:ContextSettings}"
Background="{Binding MenuBackground}" Closed="Result_Closed" Height="250" Loaded="Result_Loaded" MouseDown="WindowMouseDown" MouseMove="WindowMove" MouseUp="WindowMouseUp" Title="Sylver Ink: Sticky Note" Topmost="{Binding SearchResultsOnTop}" Width="250" WindowStyle="None">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox AcceptsReturn="True" Grid.ColumnSpan="2" Height="Auto" Margin="5" TextChanged="ResultBlock_TextChanged"
TextWrapping="WrapWithOverflow" VerticalContentAlignment="Top"
ScrollViewer.VerticalScrollBarVisibility="Auto"
x:Name="ResultBlock"/>
<Label Grid.ColumnSpan="2" FontStyle="Italic" HorizontalAlignment="Center" Grid.Row="1" x:Name="LastChangedLabel"/>
<Button Click="ViewClick" Content="View..." Margin="15,5" Grid.Row="2" Width="50"/>
<Button Click="CloseClick" Grid.Column="1" Content="Close" Margin="15,5" Grid.Row="2" Width="50"/>
</Grid>
</Window>