<ContentDialog
    x:Class="FooEditor.UWP.Views.OpenAsEncodeView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FooEditor.UWP.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:prism="using:Prism.Windows.Mvvm"
    mc:Ignorable="d"
    PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
    SecondaryButtonClick="ContentDialog_SecondaryButtonClick"
    prism:ViewModelLocator.AutoWireViewModel="True"
    x:Uid="OpenAsEncodeDialog"
    >
    <StackPanel Margin="20">
        <TextBlock x:Uid="EncodeTypeLabel" Margin="0,10,0,0"/>
        <ComboBox ItemsSource="{Binding EncodeCollection}" SelectedItem="{Binding Encoding,Mode=TwoWay}" Name="EncodeListOnOpenAs" Width="150" Margin="0,10,0,0">
            <ComboBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding WebName}"/>
                </DataTemplate>
            </ComboBox.ItemTemplate>
        </ComboBox>
    </StackPanel>
</ContentDialog>
