36 lines
2.3 KiB
XML
36 lines
2.3 KiB
XML
<local:MyPageRight
|
|||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
xmlns:local="clr-namespace:PCL" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
|
mc:Ignorable="d" x:Class="PCL.PageDownloadNeoForge"
|
||
|
|
PanScroll="{Binding ElementName=PanBack}">
|
||
|
|
<local:MyScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" x:Name="PanBack">
|
||
|
|
<StackPanel Orientation="Vertical" Margin="5">
|
||
|
|
<local:MyCard Margin="20,20,20,0" Grid.IsSharedSizeScope="True"
|
||
|
|
Title="{DynamicResource Download.Version.NeoForge.Intro.Title}" x:Name="CardTip">
|
||
|
|
<StackPanel Margin="25,40,15,20">
|
||
|
|
<TextBlock Margin="0,0,0,11"
|
||
|
|
Text="{DynamicResource Download.Version.NeoForge.Intro.Description}"
|
||
|
|
TextWrapping="Wrap" />
|
||
|
|
<Grid Height="35">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<local:MyButton x:Name="BtnWeb" Grid.Column="0" MinWidth="140"
|
||
|
|
Text="{DynamicResource Download.Version.OpenWebsite}" Padding="13,0"
|
||
|
|
Margin="0,0,20,0" HorizontalAlignment="Left" ColorType="Highlight"
|
||
|
|
local:CustomEventService.EventType="OpenUrl"
|
||
|
|
local:CustomEventService.EventData="https://neoforged.net/" />
|
||
|
|
</Grid>
|
||
|
|
</StackPanel>
|
||
|
|
</local:MyCard>
|
||
|
|
<StackPanel Name="PanMain" Margin="20,15,20,5" Grid.IsSharedSizeScope="True" />
|
||
|
|
<local:MyCard HorizontalAlignment="Center" SnapsToDevicePixels="True" x:Name="PanLoad" UseAnimation="False"
|
||
|
|
Margin="40,50">
|
||
|
|
<local:MyLoading Text="{DynamicResource Download.Version.NeoForge.LoadingList}" Margin="20,20,20,17" x:Name="Load"
|
||
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||
|
|
</local:MyCard>
|
||
|
|
</StackPanel>
|
||
|
|
</local:MyScrollViewer>
|
||
|
|
</local:MyPageRight>
|