| 123456789101112131415161718192021222324252627282930 |
- <StackPanel Margin="0,-10,0,0"
- xmlns:sys="clr-namespace:System;assembly=mscorlib"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="clr-namespace:PCL;assembly=Plain Craft Launcher 2">
- <StackPanel.Triggers>
- </StackPanel.Triggers>
- <StackPanel.Resources>
- <Style TargetType="ListItem"><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/><Setter Property="Margin" Value="0,4"/></Style>
- <Style TargetType="List"><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/><Setter Property="Margin" Value="20,6,0,6"/><Setter Property="MarkerStyle" Value="1"/><Setter Property="Padding" Value="0"/></Style>
- <Style TargetType="Paragraph"><Setter Property="LineHeight" Value="12"/><Setter Property="TextIndent" Value="0"/><Setter Property="Margin" Value="0,8"/></Style>
- <Style TargetType="TextBlock"><Setter Property="TextWrapping" Value="Wrap"/><Setter Property="HorizontalAlignment" Value="Left"/><Setter Property="FontSize" Value="14"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
- <Style TargetType="FlowDocument"><Setter Property="FontFamily" Value="Microsoft YaHei UI"/><Setter Property="FontSize" Value="14"/><Setter Property="TextAlignment" Value="Left"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
- <Style TargetType="FlowDocumentScrollViewer"><Setter Property="IsSelectionEnabled" Value="False"/><Setter Property="VerticalScrollBarVisibility" Value="Hidden"/><Setter Property="Margin" Value="0"/></Style>
- </StackPanel.Resources>
- <local:MyCard Title="转到页面" Margin="0,5">
- <StackPanel Margin="25,40,23,15">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*"/>
- <ColumnDefinition Width="100"/>
- </Grid.ColumnDefinitions>
- <local:MyTextBox x:Name="jumpbox" Height="30" />
- <local:MyButton HorizontalAlignment="Center" Width="80"
- Grid.Column="1" Text="打开→" EventType="打开帮助"
- EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://mcnews.meloong.com/{0}.json"/>
- </Grid>
- </StackPanel>
- </local:MyCard>
- </StackPanel>
|