<UserControl x:Class="Stylet.Samples.RedditBrowser.Pages.TaskbarView"
             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"
             xmlns:s="https://github.com/canton7/Stylet"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel LastChildFill="False">
        <DockPanel DockPanel.Dock="Top">
            <Label DockPanel.Dock="Left">Subreddit: /r/</Label>
            <Button DockPanel.Dock="Right" Command="{s:Action Open}" IsDefault="True">Open</Button>
            <ComboBox DockPanel.Dock="Right" ItemsSource="{Binding SortModes}" DisplayMemberPath="Name" SelectedItem="{Binding SelectedSortMode}"/>
            <TextBox Text="{Binding Subreddit, UpdateSourceTrigger=PropertyChanged}"/>
        </DockPanel>
    </DockPanel>
</UserControl>
