BeginControl.xaml
上传用户:lvyingde
上传日期:2018-04-24
资源大小:610k
文件大小:1k
源码类别:

SilverLight

开发平台:

C#

  1. <mycontrol:ActivityControl x:Class="wxwinter.WFDesignerSl.BeginControl"
  2.     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  3.     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  4.      Width="80" Height="80"
  5.                            Canvas.Left="0" Canvas.Top="0"
  6.                          
  7.               xmlns:mycontrol="clr-namespace:wxwinter.WFDesignerSl"
  8.                             MouseLeftButtonUp="link_MouseLeftButtonUp"
  9.              >
  10.     <Border 
  11. BorderThickness="1,1,1,1" CornerRadius="40,40,40,40" BorderBrush="#FF000000" >
  12.         <Border.Background>
  13.             <RadialGradientBrush>
  14.                 <GradientStop Color="Green"  Offset="1"/>
  15.                 <GradientStop Color="#FFFFFFFF" Offset="0"/>
  16.             </RadialGradientBrush>
  17.         </Border.Background>
  18.         <Canvas >
  19.             <Thumb  Height="20" DragDelta="thumb_DragDelta" Foreground="{x:Null}"   Width="55" Canvas.Left="12" Canvas.Top="-7">
  20.  
  21.             </Thumb>
  22.             <TextBlock  Width="55" FontSize="14"  Text="启动流程"  Canvas.Left="10" Canvas.Top="32"/>
  23.             <Image Name="link"  MouseLeftButtonUp="link_MouseLeftButtonUp"  MouseLeftButtonDown="link_MouseLeftButtonDown"  Source="image/link.png"  Canvas.Top="63" Canvas.Left="32" Height="16" Width="16" />
  24.         </Canvas>
  25.     </Border>
  26. </mycontrol:ActivityControl>