星火微课系统客户端
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Uc_VideoItem.xaml 3.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <UserControl x:Class="XHWK.WKTool.UControl.Uc_VideoItem"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:XHWK.WKTool.UControl"
  7. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="250">
  9. <Grid>
  10. <Button x:Name="BtnVideoPlay" HorizontalAlignment="Center" Width="200" Height="130" Margin="25,10,25,0" VerticalAlignment="Top" Cursor="Hand" Click="BtnVideoPlay_Click">
  11. <Image x:Name="ImgVideo" VerticalAlignment="Top" Width="200" Height="130" Margin="0,0,0,0" Cursor="Hand" Stretch="Fill"/>
  12. </Button>
  13. <Image x:Name="ImgVideoPlay" Source="/星火微课;component/Images/VideoList_Play.png" HorizontalAlignment="Center" VerticalAlignment="Top" Width="60" Margin="0,50,0,0" Cursor="Hand" MouseLeftButtonDown="Image_MouseLeftButtonDown" />
  14. <TextBlock x:Name="TbName" Text="一二三四五六七八九十..." HorizontalAlignment="Center" Margin="15,160,15,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="#FF3492F4" FontSize="18" TextAlignment="Center" ToolTip="" Visibility="Visible" MouseLeftButtonDown="TextBlock_MouseLeftButtonDown"/>
  15. <TextBox x:Name="TxtModify" HorizontalAlignment="Left" Height="30" Margin="25,157,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="180" FontSize="16" Visibility="Hidden" LostFocus="TxtModify_LostFocus" KeyUp="TxtModify_KeyUp">
  16. <TextBox.Resources>
  17. <Style TargetType="{x:Type Border}">
  18. <Setter Property="CornerRadius" Value="3"/>
  19. <Setter Property="BorderBrush" Value="#3492F4"/>
  20. </Style>
  21. </TextBox.Resources>
  22. </TextBox>
  23. <Button x:Name="BtnNameModifyOK" HorizontalAlignment="Left" Margin="200,157,0,0" VerticalAlignment="Top" Width="30" Height="30" Background="White" BorderBrush="#FFABADB3" Click="BtnNameModifyOK_Click" Visibility="Hidden">
  24. <Button.Resources>
  25. <Style TargetType="{x:Type Border}">
  26. <Setter Property="CornerRadius" Value="3"/>
  27. <Setter Property="BorderBrush" Value="#3492F4"/>
  28. </Style>
  29. </Button.Resources>
  30. <Image Source="/星火微课;component/Images/VideoList_OK.png"></Image>
  31. </Button>
  32. <Label x:Name="lblDateSize" Content="2020-10-10 10:10:00|1000.00MB" HorizontalAlignment="Center" Margin="0,205,0,0" VerticalAlignment="Top" Height="30" Width="240" Foreground="#FF9A9A9A" FontSize="13" HorizontalContentAlignment="Center"/>
  33. <Button x:Name="BtnUpload" Content="上传" HorizontalAlignment="Left" Margin="25,248,0,0" VerticalAlignment="Top" Width="90" Height="34" Background="#FF3492F4" Foreground="White" FontSize="18" Click="BtnUpload_Click"/>
  34. <Button x:Name="BtnDelVideo" Content="删除" HorizontalAlignment="Right" Margin="0,248,25,0" VerticalAlignment="Top" Width="90" Height="34" Foreground="White" FontSize="18" Background="#FFF0582C" Click="BtnDelVideo_Click"/>
  35. </Grid>
  36. </UserControl>