Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <UserControl x:Class="Desktop_client.CustomControls.OpeningCaseResultItem"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Border CornerRadius="10"
- BorderBrush="{StaticResource SeperatorColor}"
- BorderThickness="1" Background="White" Margin="10" Width="180">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="0.8*"/>
- <RowDefinition Height="0.2*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Column="0" Grid.Row="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="0.7*"/>
- <RowDefinition Height="0.1*"/>
- <RowDefinition Height="0.1*"/>
- <RowDefinition Height="0.1*"/>
- </Grid.RowDefinitions>
- <Image Grid.Row="0"
- Width="170" Stretch="Fill" HorizontalAlignment="Center"
- VerticalAlignment="Center" Name="ImageSkin"/>
- <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" Name="LabelTypeItem"
- FontSize="14" Margin="10,0,0,0" Foreground="{StaticResource TitleColor}"
- FontFamily="{StaticResource Gotham_Pro_Bold}" Grid.Column="0" Grid.Row="1"/>
- <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" Name="LabelNameMoreItem"
- FontSize="11" Margin="4,0,0,0" Foreground="{StaticResource TitleColor}"
- FontFamily="{StaticResource Gotham_Pro_Bold}" Grid.Column="0" Grid.Row="2"/>
- <StackPanel Orientation="Horizontal" Margin="10,0,0,10"
- Grid.Row="3" Grid.Column="0">
- <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" Text="ШАНС:"
- FontSize="13" Foreground="{StaticResource TitleColor}"
- FontFamily="{StaticResource Gotham_Pro_Bold}"/>
- <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left"
- FontSize="13" Foreground="{StaticResource GreenTextColor}"
- FontFamily="{StaticResource Gotham_Pro_Bold}" Name="LabelShance"/>
- <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left"
- FontSize="13" Foreground="{StaticResource GreenTextColor}"
- FontFamily="{StaticResource Gotham_Pro_Bold}" Name="LabelRange"/>
- </StackPanel>
- </Grid>
- <Border Grid.Row="0" Grid.Column="0" Background="Black" Opacity="0.8"
- CornerRadius="10,10,0,0" Margin="-1" Name="BorderBuy" Visibility="Hidden">
- <Border.Style>
- <Style TargetType="{x:Type Border}">
- <Style.Triggers>
- <DataTrigger Value="True" Binding="{Binding ElementName=ImageBuy, Path=IsMouseOver}">
- <Setter Property="Visibility" Value="Visible"/>
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Border.Style>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="0.5*"/>
- <RowDefinition Height="0.5*"/>
- </Grid.RowDefinitions>
- <TextBlock VerticalAlignment="Bottom" HorizontalAlignment="Center" Text="Продать за"
- FontSize="22" Margin="10,0,0,0" Foreground="White"
- FontFamily="{StaticResource Gotham_Pro_Bold}" Grid.Column="0" Grid.Row="0"/>
- <StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="1" HorizontalAlignment="Center">
- <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
- FontSize="22" Margin="0,0,5,0" Foreground="White" Name="LabelBuy"
- FontFamily="{StaticResource Gotham_Pro_Bold}" />
- <Image Source="../Image/cap_point.png"
- Width="50" Stretch="Fill" HorizontalAlignment="Center"
- VerticalAlignment="Center"
- MouseLeftButtonDown="ImageCheck_OnMouseLeftButtonDown"/>
- </StackPanel>
- </Grid>
- </Border>
- <Image Grid.Column="0" Grid.Row="1" Margin="-90,0,0,0" Source="../Image/money_refund.png"
- Width="30" Stretch="Fill" HorizontalAlignment="Center"
- VerticalAlignment="Center" Name="ImageBuy"
- MouseLeftButtonDown="ImageBuy_OnMouseLeftButtonDown"/>
- <Border BorderBrush="{StaticResource SeperatorColor}"
- BorderThickness="0,1,0,0" Grid.Row="1">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*"/>
- <ColumnDefinition Width="1*"/>
- <ColumnDefinition Width="1*"/>
- </Grid.ColumnDefinitions>
- <Image Grid.Column="1" Source="../Image/download_button.png"
- Width="22" Stretch="Fill" HorizontalAlignment="Center"
- VerticalAlignment="Center" Name="ImageGet" Margin="2"
- MouseLeftButtonDown="ImageGet_OnMouseLeftButtonDown"/>
- <Image Grid.Column="2" Source="../Image/security_on.png"
- Width="22" Stretch="Fill" HorizontalAlignment="Center"
- VerticalAlignment="Center" Name="ImageCheck" Margin="2"
- MouseLeftButtonDown="ImageCheck_OnMouseLeftButtonDown"/>
- </Grid>
- </Border>
- </Grid>
- </Border>
- </UserControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement