-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainPage.xaml
More file actions
57 lines (55 loc) · 2.65 KB
/
MainPage.xaml
File metadata and controls
57 lines (55 loc) · 2.65 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
<Page x:Class="Library_DB.MainPage"
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Library_DB"
mc:Ignorable="d"
Height="640" Width="420"
Title="MainPage">
<Page.Background>
<ImageBrush ImageSource="/Resources/Images/bakgrund1.jpg"></ImageBrush>
</Page.Background>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="460"/>
<RowDefinition Height="130"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="1" VerticalAlignment="Center" MaxWidth="1000">
<Border Background="WhiteSmoke" Margin="20,20,20,16" Opacity="0.65" CornerRadius="20">
<StackPanel Orientation="Horizontal">
<!--TEXTBOX-->
<TextBox x:Name="searchTbx"
Grid.ColumnSpan="2" Grid.Column="1" Grid.Row="1"
Margin="30,20,20,20"
Text="Search Book"
FontSize="20"
FontFamily="Century Gothic"
Foreground="#FF503612"
BorderThickness="0"
BorderBrush="Transparent"
Background="Transparent" Width="229"/>
<materialDesign:PackIcon Kind="Search" Background="{x:Null}" Foreground="#FF503612"
Height="35" Width="35" VerticalAlignment="Center" Margin="40,0,0,0"/>
</StackPanel>
</Border>
<!--Confirm Button-->
<Border Height="30" Width="80" Margin="10" CornerRadius="10" Background="#FF5F731D">
<Border.Effect>
<DropShadowEffect BlurRadius="10"
ShadowDepth="2"
Direction="-90"
Color="#FF303E1F"/>
</Border.Effect>
<!--Confirm Button-->
<Button BorderBrush="{x:Null}" Background="{x:Null}"
Content="Search" Foreground="White" Focusable="False" Click="Button_Click">
</Button>
</Border>
</StackPanel>
<!--Search Bar-->
<Frame x:Name="Frame3" Grid.RowSpan="3" Width="auto" Height="auto" Grid.Row="0" />
</Grid>
</Page>