-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOrdersPage.xaml
97 lines (97 loc) · 3.9 KB
/
OrdersPage.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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="proshandadmin.OrdersPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:proshandadmin"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="using:CommunityToolkit.WinUI.UI.Controls"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource LayerOnAcrylicFillColorDefault}"
Loaded="Page_Loaded">
<Page.Resources>
<Storyboard
x:Name="myStoryboard">
<DoubleAnimation
Storyboard.TargetName="refreshIconTransform"
Storyboard.TargetProperty="RenderTransform.Angle"
From="0.0"
To="360.0"
Duration="0:0:1" />
</Storyboard>
</Page.Resources>
<Grid>
<StackPanel>
<TextBlock
x:Name="pageTitle"
Text="Manage Orders"
Margin="16"
Style="{StaticResource TitleTextBlockStyle}" />
<RelativePanel
Margin="16, 0, 0, 16">
<Button
x:Name="RefreshButton"
HorizontalAlignment="Left"
Margin="0"
Click="Button_Click">
<StackPanel
Orientation="Horizontal"
Spacing="8">
<FontIcon
x:Name="RefreshIcon"
Glyph="">
<FontIcon.RenderTransform>
<RotateTransform
CenterX="10"
CenterY="10"
x:Name="refreshIconTransform" />
</FontIcon.RenderTransform>
</FontIcon>
<TextBlock
x:Name="RefreshText">Refresh</TextBlock>
</StackPanel>
</Button>
<StackPanel
Margin="0, 0, 16, 0"
Orientation="Horizontal"
HorizontalAlignment="Right"
RelativePanel.AlignRightWithPanel="True"
RelativePanel.RightOf="RefreshButton">
<TextBlock
VerticalAlignment="Center"
Padding="0, 0, 16, 0">
<Underline>
<Run
x:Name="NewOrdersCount"></Run>
<Run>New Orders Available</Run>
</Underline></TextBlock>
<Button
x:Name="ProcessButton"
Click="Button_Click_1"
Style="{ThemeResource AccentButtonStyle}">
<StackPanel
Orientation="Horizontal"
Spacing="8">
<FontIcon
Glyph="" />
<TextBlock x:Name="ProcessButtonText">Process New Orders</TextBlock>
</StackPanel>
</Button>
</StackPanel>
</RelativePanel>
<ScrollView
x:Name="scrollView"
Height="450"
Width="1060"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
HorizontalScrollBarVisibility="Visible"
HorizontalScrollMode="Enabled"
VerticalScrollMode="Enabled"
VerticalScrollBarVisibility="Auto"
ZoomMode="Disabled"
IsTabStop="True"></ScrollView>
</StackPanel>
</Grid>
</Page>