/ src / modules / cmdpal / Microsoft.CmdPal.UI / Controls / FallbackRankerDialog.xaml
FallbackRankerDialog.xaml
 1  <?xml version="1.0" encoding="utf-8" ?>
 2  <UserControl
 3      x:Class="Microsoft.CmdPal.UI.Controls.FallbackRankerDialog"
 4      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 5      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 6      xmlns:cpcontrols="using:Microsoft.CmdPal.UI.Controls"
 7      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 8      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 9      mc:Ignorable="d">
10      <ContentDialog
11          x:Name="FallbackRankerContentDialog"
12          Width="420"
13          MinWidth="420"
14          PrimaryButtonText="OK">
15          <ContentDialog.Title>
16              <TextBlock x:Uid="ManageFallbackRank" />
17          </ContentDialog.Title>
18          <ContentDialog.Resources>
19              <x:Double x:Key="ContentDialogMaxWidth">800</x:Double>
20          </ContentDialog.Resources>
21          <Grid Width="560" MinWidth="420">
22              <Grid.RowDefinitions>
23                  <RowDefinition Height="Auto" />
24                  <RowDefinition Height="Auto" />
25                  <RowDefinition Height="*" />
26              </Grid.RowDefinitions>
27              <TextBlock
28                  x:Uid="ManageFallbackOrderDialogDescription"
29                  Foreground="{ThemeResource TextFillColorSecondaryBrush}"
30                  TextWrapping="Wrap" />
31              <Rectangle
32                  Grid.Row="1"
33                  Height="1"
34                  Margin="0,16,0,16"
35                  HorizontalAlignment="Stretch"
36                  Fill="{ThemeResource DividerStrokeColorDefaultBrush}" />
37              <cpcontrols:FallbackRanker
38                  x:Name="FallbackRanker"
39                  Grid.Row="2"
40                  Margin="-24,0,-24,0" />
41          </Grid>
42      </ContentDialog>
43  </UserControl>