mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 03:59:15 +08:00
30 lines
1.7 KiB
XML
30 lines
1.7 KiB
XML
<UserControl x:Class="WinAlfred.ResultItem"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
mc:Ignorable="d"
|
|
d:DesignWidth="400"
|
|
Height="50">
|
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="32"></ColumnDefinition>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="73.064"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Image x:Name="imgIco" Width="32" Height="32" HorizontalAlignment="Left" ></Image>
|
|
<Grid HorizontalAlignment="Stretch" Margin="5 0 0 0" Grid.Column="1" VerticalAlignment="Stretch">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="23"></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock x:Name="tbTitle" FontSize="16" Foreground="#37392c" FontWeight="Medium">Title</TextBlock>
|
|
<TextBlock Grid.Row="1" Foreground="#8e94a4" x:Name="tbSubTitle">sdfdsf</TextBlock>
|
|
</Grid>
|
|
<DockPanel Grid.Column="2" Visibility="Hidden">
|
|
<Image x:Name="img" Source="Images\ctrl.png" VerticalAlignment="Center"/>
|
|
<TextBlock x:Name="tbIndex" Visibility="Hidden" FontSize="16" Foreground="#5c1f87" Margin="0 5 0 0" Text="1" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
|
</DockPanel>
|
|
</Grid>
|
|
</UserControl>
|