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

SilverLight

开发平台:

C#

  1. <mycontrol:ActivityControl x:Class="wxwinter.WFDesignerSl.EndControl"
  2.     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  3.     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  4.     Height="50" Width="110"
  5.     Canvas.Left="0" Canvas.Top="0"
  6.     xmlns:mycontrol="clr-namespace:wxwinter.WFDesignerSl"
  7.                            
  8.     MouseEnter="ActivityControl_MouseEnter"
  9.              >
  10.     <Border 
  11. BorderThickness="1,1,1,1" CornerRadius="10,10,10,10" BorderBrush="#FF000000" >
  12.         <Border.Background>
  13.             <RadialGradientBrush>
  14.                 <GradientStop Color="#FFF46D54" 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}" BorderThickness="0,0,0,0" Width="61" Canvas.Left="21" Canvas.Top="-9">
  20.             </Thumb>
  21.             <TextBlock  Width="53" Height="16" Text="结束流程" TextWrapping="Wrap" Canvas.Left="29" Canvas.Top="21.5"/>
  22.         </Canvas>
  23.     </Border>
  24. </mycontrol:ActivityControl>