# kanban-dialog-editing

> SfKanban with dialog-based card editing, input validation, and two-way binding to task data.

**Framework:** wpf  **Component:** Kanban  **Variant:** dialog-editing

## Get this item

**If you are an agent, fetch the JSON.** Source is inlined, so one request is enough and no tooling is required:

```
GET https://ai.syncfusion.com/r/wpf/kanban-dialog-editing.json
```

**Install Package(s)**

```bash
dotnet add package Syncfusion.SfKanban.WPF
```

**Notes**

- Syncfusion release: 2026 Volume 3 (v35.1.37)
- The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md

## Source files

### src/components/kanban-dialog-editing/Kanban.xaml

```xaml
<UserControl x:Class="syncfusion.kanbandemos.wpf.DialogEditing.Kanban"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:kanban="clr-namespace:Syncfusion.UI.Xaml.Kanban;assembly=Syncfusion.SfKanban.WPF"
        xmlns:local="clr-namespace:syncfusion.kanbandemos.wpf" Unloaded="OnSampleUnloaded">

    <UserControl.DataContext>
        <local:SwimlaneViewModel />
    </UserControl.DataContext>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Margin="10">
            <Button x:Name="AddCardButton" Width="120" Height="30" Content="Add New Card" />
        </StackPanel>

        <kanban:SfKanban x:Name="kanban" Grid.Row="1"
                         ItemsSource="{Binding TaskDetails}"
                         AllowDrop="False">
            <kanban:SfKanban.IndicatorColorPalette>
                <kanban:ColorMapping Key="Low" Color="#0F7B0F"/>
                <kanban:ColorMapping Key="Normal" Color="#FFB900"/>
                <kanban:ColorMapping Key="High" Color="#C42B1C"/>
            </kanban:SfKanban.IndicatorColorPalette>
            <kanban:KanbanColumn Title="Backlog" Categories="Backlog" AllowDrag="False" />
            <kanban:KanbanColumn Title="In Progress" Categories="In Progress" IsExpanded="True" AllowDrag="False">
                <kanban:KanbanColumn.ErrorBarSettings>
                    <kanban:ErrorBarSettings MaxValidationColor="Red" MinValidationColor="Yellow" />
                </kanban:KanbanColumn.ErrorBarSettings>
            </kanban:KanbanColumn>
            <kanban:KanbanColumn Title="Review" Categories="Review" AllowDrag="False">
                <kanban:KanbanColumn.ErrorBarSettings>
                    <kanban:ErrorBarSettings MaxValidationColor="Red" MinValidationColor="Yellow" />
                </kanban:KanbanColumn.ErrorBarSettings>
            </kanban:KanbanColumn>
            <kanban:KanbanColumn Title="Done" AllowDrag="False" Categories="Done">
                <kanban:KanbanColumn.ErrorBarSettings>
                    <kanban:ErrorBarSettings MaxValidationColor="Red" MinValidationColor="Yellow" />
                </kanban:KanbanColumn.ErrorBarSettings>
            </kanban:KanbanColumn>
        </kanban:SfKanban>
    </Grid>
</UserControl>

```
