Question

I would like to create a kanban WinApp. I would like to know which control I would best off using. The main goal is to display kanban elements that are arranged by colored box, day by day.

I had thought about using a scheduler control. Is this the right choice?

Was it helpful?

Solution

Converting my comment into an answer:

Based in the above linked screenshot, I created this sample of such a thing using current, relevant .Net Windows UI technologies:

enter image description here

In only 50 lines of XAML and 10 lines of C# code. It took me less than 30 minutes. Full Source code here

OTHER TIPS

I'm a bit late to the party, but since I've actually implemented a Windows Kanban app in WPF (https://www.xplan-taskmanager.com/), it might be of use to others.

The board itself is a hierarchy of DockPanel-ScrollViewer-DockPanel:

<DockPanel>
    <ScrollViewer x:Name="scrollPanel" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" DockPanel.Dock="Top">
        <DockPanel x:Name="panel" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
    </ScrollViewer>
</DockPanel>

Columns are StackPanels:

<StackPanel AllowDrop="True">
    <TextBlock Name="nameLabel"></TextBlock>
    <StackPanel Name="cardsPanel">
    </StackPanel>
</StackPanel>

Cards are also implemented as StackPanel.

Board, Columns, and Cards have all been created as UserControl.

XPlan

I'm pretty happy with the result but I see from profiling tests that performance could use some optimization. I still have to analyze alternatives but, for the moment, this works fine. Anyway, for large numbers, I've placed a "more" at the end of each column (just a button).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top