<UserControl x:Class="TaskIt.Modules.Dashboard.Views.OverdueTasks"
    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:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
    xmlns:activity="clr-namespace:System.Windows.Controls;assembly=ActivityControl" 
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid>
        <telerikGridView:RadGridView ItemsSource="{Binding OverdueTasks}" ShowGroupPanel="False" IsFilteringAllowed="False">
            <telerikGridView:RadGridView.Columns>
                <telerikGridView:GridViewDataColumn Header="{Binding ResourceColumnHeaderName}" DataMemberBinding="{Binding Name}" Width="*"/>
                <telerikGridView:GridViewDataColumn Header="{Binding ResourceColumnHeaderDue}" DataMemberBinding="{Binding DueDate}" DataFormatString="{}{0:d}" Width="*"/>
            </telerikGridView:RadGridView.Columns>
        </telerikGridView:RadGridView>        
        <activity:Activity IsActive="{Binding IsOperationInProgress}" ActiveContent="{Binding ResourceMessageLoadingData}"/>
    </Grid>
    
</UserControl>
