<UserControl x:Class="MVVMProject.Views.TasksViews.Details"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" 
    xmlns:fxui="clr-namespace:SilverlightFX.UserInterface;assembly=SilverlightFX" 
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <StackPanel>
        <Button Content="Save" Command="{Binding SaveCommand}" HorizontalAlignment="Left"/>
        <Rectangle Style="{StaticResource StandardSpacerStyle}"/>
        <fxui:FormPanel DataContext="{Binding SelectedItem}" Style="{StaticResource FormContainerStyle}">
            <fxui:Label Text="Name:"/>
            <TextBox Text="{Binding Name, Mode=TwoWay}"/>
            <fxui:Label Text="Due:"/>
            <telerikInput:RadDatePicker SelectedDate="{Binding DueDate, Mode=TwoWay}"/>
        </fxui:FormPanel>
    </StackPanel>

</UserControl>
