WaitControl.xaml
上传用户:lvyingde
上传日期:2018-04-24
资源大小:610k
文件大小:3k
- <mycontrol:ActivityControl x:Class="wxwinter.WFDesignerSl.WaitControl"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-
- xmlns:mycontrol="clr-namespace:wxwinter.WFDesignerSl"
- Height="100" Width="200"
- Canvas.Left="0" Canvas.Top="0"
- MouseLeftButtonUp="link_MouseLeftButtonUp"
- MouseEnter="ActivityControl_MouseEnter"
- >
- <mycontrol:ActivityControl.Resources>
- <LinearGradientBrush EndPoint="50,0" StartPoint="0,0" MappingMode="Absolute" x:Key="b5">
- <GradientStop Color="#FFF8F8F8" Offset="0"/>
- <GradientStop Color="#FF554F4D" Offset="2"/>
- </LinearGradientBrush>
- <DataTemplate x:Key="submtOptionList" >
- <Border Margin="1,1,1,1" BorderBrush="Black" BorderThickness="1" Background="White" >
- <TextBlock MouseLeftButtonUp="link_MouseLeftButtonUp" MouseLeftButtonDown="link_MouseLeftButtonDown" Text="{Binding Path=.}" VerticalAlignment="Center" />
- </Border>
- </DataTemplate>
- <ItemsPanelTemplate x:Key="vlist">
-
- <StackPanel Width="180" Height="20" Orientation="Horizontal"></StackPanel>
- </ItemsPanelTemplate>
- </mycontrol:ActivityControl.Resources>
- <Border BorderThickness="1,1,1,1" CornerRadius="10,10,10,10" BorderBrush="#FF000000">
-
- <Border.Background>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="#FF4D76F4" Offset="1"/>
- <GradientStop Color="#FFE6EBF0" Offset="0"/>
- </LinearGradientBrush>
- </Border.Background>
- <StackPanel x:Name="Activity" >
- <Canvas>
- <Thumb Height="20" DragDelta="thumb_DragDelta" Foreground="{x:Null}" BorderThickness="0,0,0,0" Width="138" Canvas.Top="-10.005" Canvas.Left="31">
-
- </Thumb>
- <TextBlock Name="title" FontSize="14" Text="标题" Canvas.Left="3" Width="126" Height="16" Canvas.Top="13" />
- <TextBlock Name="description" Text="说明" Canvas.Left="3" Width="187" Height="37" Canvas.Top="32" TextWrapping="Wrap" />
- <Image Name="setData" MouseLeftButtonUp="Image_MouseLeftButtonUp" Source="image/info.png" Canvas.Top="18" Canvas.Left="181" Height="16" Width="16" />
- <Image Name="del" Source="image/del.png" MouseLeftButtonUp="del_MouseUp" Canvas.Top="1.334" Canvas.Left="180.757" Width="16.008" Height="16.008" />
- <Image Name="img_activite" Source="image/activite.png" Width="16" Visibility="Collapsed" Height="16" Canvas.Top="45" Canvas.Left="-15" />
- <ItemsControl ItemsPanel="{StaticResource vlist}" ItemTemplate="{StaticResource submtOptionList}" Height="44" Name="submtOption" Width="196" Canvas.Top="60" Canvas.Left="3" Background="{x:Null}" BorderThickness="0,0,0,0" />
- </Canvas>
- </StackPanel>
- </Border>
- </mycontrol:ActivityControl>