VPet/VPet-Simulator.Core/Display/Main.xaml

27 lines
2.1 KiB
Plaintext
Raw Normal View History

2023-02-21 11:37:01 +00:00
<pu:ContentControlX x:Class="VPet_Simulator.Core.Main" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2023-05-25 11:02:13 +00:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:pu="https://opensource.panuon.com/wpf-ui"
2023-06-25 18:54:34 +00:00
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2022-12-13 07:10:18 +00:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:VPet_Simulator.Core"
mc:Ignorable="d" d:DesignHeight="250" d:DesignWidth="250">
<Viewbox>
2023-06-25 18:54:34 +00:00
<Grid x:Name="MainGrid" Width="500" MouseLeftButtonDown="MainGrid_MouseLeftButtonDown" x:FieldModifier="public"
MouseLeftButtonUp="MainGrid_MouseLeftButtonUp" MouseRightButtonDown="MainGrid_MouseRightButtonDown"
MouseMove="MainGrid_MouseWave">
<MediaElement x:Name="VoicePlayer" LoadedBehavior="Manual" UnloadedBehavior="Stop" x:FieldModifier="public" />
2023-05-30 16:51:17 +00:00
<Grid x:Name="UIGrid_Back" x:FieldModifier="public" VerticalAlignment="Top" Width="500" />
2024-03-22 14:46:51 +00:00
<Border x:Name="PetGrid" Height="500" VerticalAlignment="Top" Width="500" x:FieldModifier="public" />
<Border x:Name="PetGrid2" Height="500" VerticalAlignment="Top" Width="500" x:FieldModifier="public"
Visibility="Collapsed" />
2023-05-30 16:51:17 +00:00
<Grid x:Name="UIGrid" x:FieldModifier="public" VerticalAlignment="Top" Width="500" />
2024-03-22 14:46:51 +00:00
<Label x:Name="LabelDisplay" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30"
Background="{DynamicResource DARKPrimaryTransA}" d:Visibility="Visible"
2023-06-25 18:54:34 +00:00
Foreground="{DynamicResource DARKPrimaryText}" pu:LabelHelper.CornerRadius="15"
pu:LabelHelper.ShadowColor="{DynamicResource ShadowColor}" pu:ShadowHelper.Opacity="0.8"
2024-03-22 14:46:51 +00:00
x:FieldModifier="public" Margin="0,300,0,0" Padding="15,7" Visibility="Collapsed">
<TextBlock x:Name="LabelDisplayText" Text="Hello World!" x:FieldModifier="public"
TextWrapping="WrapWithOverflow" />
</Label>
2022-12-13 07:10:18 +00:00
</Grid>
</Viewbox>
2023-02-21 11:37:01 +00:00
</pu:ContentControlX>