25 lines
2.1 KiB
Plaintext
25 lines
2.1 KiB
Plaintext
|
<UserControl
|
||
|
x:Class="LiveTools.Rule_ShowPic"
|
||
|
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:local="clr-namespace:LiveTools.Content"
|
||
|
Margin="0,0,0,0"
|
||
|
Background="White"
|
||
|
xmlns:hc="https://handyorg.github.io/handycontrol" Loaded="UserControl_Loaded">
|
||
|
<Grid Height="120">
|
||
|
<Border Style="{StaticResource BorderTipPrimary}" Height="35" VerticalAlignment="Top">
|
||
|
<TextBlock Text="砸图片" Foreground="Black" FontWeight="Bold"/>
|
||
|
</Border>
|
||
|
<TextBlock Text="同时播放声效" HorizontalAlignment="Left" Margin="283,0,0,0" VerticalAlignment="Center"/>
|
||
|
<ToggleButton x:Name="ChkPlaySound" IsChecked="True" Margin="360,0,0,0" Style="{StaticResource ToggleButtonSwitch}" hc:VisualElement.HighlightBrush="{DynamicResource PrimaryBrush}" Height="24" VerticalAlignment="Center" HorizontalAlignment="Left" Width="45"/>
|
||
|
<hc:ImageSelector x:Name="PicSelector" HorizontalAlignment="Left" Margin="4,37,0,0" VerticalAlignment="Top" Height="80" Width="80" Filter="(.png)|*.png"/>
|
||
|
<TextBlock Text="图片大小" HorizontalAlignment="Left" Margin="91,0,0,0" VerticalAlignment="Center" RenderTransformOrigin="0.585,2.063" Width="75" />
|
||
|
<hc:NumericUpDown x:Name="NumPicSize" Value="70" HorizontalAlignment="Left" Margin="176,0,0,0" VerticalAlignment="Center" Width="97"/>
|
||
|
<TextBlock Text="砸图片数量" HorizontalAlignment="Left" Margin="91,88,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.585,2.063"/>
|
||
|
<hc:NumericUpDown x:Name="NumPicCount" HorizontalAlignment="Left" Margin="176,82,0,0" Value="50" VerticalAlignment="Top" Width="97"/>
|
||
|
<Button x:Name="BtnClose" HorizontalAlignment="Right" VerticalAlignment="Top" Height="32" Click="BtnClose_Click" Style="{StaticResource ButtonIcon}" Foreground="{DynamicResource DangerBrush}" hc:IconElement.Geometry="{StaticResource ErrorGeometry}"/>
|
||
|
</Grid>
|
||
|
</UserControl>
|