# kanban-dialog-editing

> Kanban cards open an editor popup to create, edit, delete, and update card properties.

**Framework:** maui  **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/maui/kanban-dialog-editing.json
```

**Install Package(s)**

```bash
dotnet add package Syncfusion.Maui.Kanban
```

**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
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
                      xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                      x:Class="MAUI.Controls.Kanban.DialogEditing.DialogEditingView"
                      xmlns:local="clr-namespace:MAUI.Controls.Kanban.DialogEditing"
                      xmlns:kanban="clr-namespace:Syncfusion.Maui.Kanban;assembly=Syncfusion.Maui.Kanban"
                      xmlns:buttons="clr-namespace:Syncfusion.Maui.Buttons;assembly=Syncfusion.Maui.Buttons"
                      xmlns:popup="clr-namespace:Syncfusion.Maui.Popup;assembly=Syncfusion.Maui.Popup"
                      xmlns:textInputLayout="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core"
                      xmlns:inputs="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs">

    <ContentPage.BindingContext>
        <local:DialogEditingViewModel />
    </ContentPage.BindingContext>

    <ContentPage.Resources>
        <ResourceDictionary>
            <Color x:Key="LightEntry">#E7E0EC</Color>
            <Color x:Key="DarkEntry">#49454F</Color>
            <Color x:Key="LightButton">#6750A4</Color>
            <Color x:Key="DarkButton">#D0BCFF</Color>
            <Color x:Key="LightAddCardButtonBackground">#F7F2FB</Color>
            <Color x:Key="DarkAddCardButtonBackground">#25232A</Color>
            <Color x:Key="LightAddCardButton">#EEE8F4</Color>
            <Color x:Key="DarkAddCardButton">#302D38</Color>
            <Color x:Key="LightAddCardButtonText">#302D38</Color>
            <Color x:Key="DarkAddCardButtonText">#E6E1E5</Color>
            <Color x:Key="LightStroke">#79747E</Color>
            <Color x:Key="DarkStroke">#938F99</Color>
            <Color x:Key="LightHighlightBackground">#6750A414</Color>
            <Color x:Key="DarkHighlightBackground">#D0BCFF14</Color>
            <Color x:Key="LightRippleBackground">#6750A41F</Color>
            <Color x:Key="DarkRippleBackground">#D0BCFF1F</Color>
        </ResourceDictionary>
    </ContentPage.Resources>

    <ContentPage.Content>
        <Grid RowDefinitions="60,*" ColumnSpacing="10">
            <Grid Grid.Row="0" Padding="10" ColumnDefinitions="Auto,*">
                <buttons:SfButton Grid.Column="0"
                              WidthRequest="120"
                              HeightRequest="40"
                              HorizontalOptions="Start"
                              VerticalOptions="Center"
                              Text="Add Card"
                              Command="{Binding AddCardCommand}" />
            </Grid>
            <kanban:SfKanban x:Name="kanban" Grid.Row="1"
                             CardTapped="OnKanbanCardTapped"
                             AutoGenerateColumns="False"
                             HorizontalOptions="Fill"
                             VerticalOptions="Fill"
                             ItemsSource="{Binding Cards}">
                <kanban:KanbanColumn Title="To Do"
                                     AllowDrag="False"
                                     Categories="Open"
                                     MinimumLimit="5"
                                     MaximumLimit="15" />
                <kanban:KanbanColumn Title="In Progress"
                                     AllowDrag="False"
                                     Categories="In Progress"
                                     MinimumLimit="3"
                                     MaximumLimit="8" />
                <kanban:KanbanColumn Title="Code Review"
                                     AllowDrag="False"
                                     Categories="Code Review"
                                     MinimumLimit="5"
                                     MaximumLimit="10" />
                <kanban:KanbanColumn Title="Done"
                                     AllowDrag="False"
                                     Categories="Done"
                                     MinimumLimit="8" />
            </kanban:SfKanban>

            <popup:SfPopup x:Name="popup" InputTransparent="{OnPlatform iOS=True}"
                           IsOpen="{Binding IsEditorOpen}"
                           HeightRequest="750"
                           WidthRequest="400"
                           ShowHeader="True"
                           ShowFooter="True"
                           AutoSizeMode="None">

                <popup:SfPopup.HeaderTemplate>
                    <DataTemplate>
                        <Label Text="{Binding EditorTitle}"
                               FontSize="22"
                               Padding="24" />
                    </DataTemplate>
                </popup:SfPopup.HeaderTemplate>

                <popup:SfPopup.ContentTemplate>
                    <DataTemplate>
                        <ScrollView>
                            <VerticalStackLayout Padding="24,0,24,0">

                                <!-- Title -->
                                <textInputLayout:SfTextInputLayout Hint="Title" ContainerType="Outlined">
                                    <Entry Text="{Binding EditingTitle}" Placeholder="Enter title" />
                                </textInputLayout:SfTextInputLayout>

                                <!-- Status -->
                                <textInputLayout:SfTextInputLayout Hint="Status" ContainerType="Outlined">
                                    <inputs:SfComboBox ItemsSource="{Binding Statuses}"
                                                       SelectedItem="{Binding EditingStatus}"
                                                       IsClearButtonVisible="False"
                                                       Placeholder="Select status" />
                                </textInputLayout:SfTextInputLayout>

                                <!-- Tag -->
                                <textInputLayout:SfTextInputLayout Hint="Tag" ContainerType="Outlined">
                                    <Entry Text="{Binding EditingTag}" Placeholder="Enter tags" />
                                </textInputLayout:SfTextInputLayout>

                                <!-- Assignee -->
                                <textInputLayout:SfTextInputLayout Hint="Assignee" ContainerType="Outlined">
                                    <inputs:SfComboBox ItemsSource="{Binding Assignees}"
                                                       SelectedItem="{Binding EditingAssignee}"
                                                       IsClearButtonVisible="False"
                                                       Placeholder="Select assignee" />
                                </textInputLayout:SfTextInputLayout>

                                <!-- Priority -->
                                <textInputLayout:SfTextInputLayout Hint="Priority" ContainerType="Outlined">
                                    <inputs:SfComboBox ItemsSource="{Binding Priorities}"
                                                       SelectedItem="{Binding EditingPriority}"
                                                       IsClearButtonVisible="False"
                                                       Placeholder="Select priority" />
                                </textInputLayout:SfTextInputLayout>

                                <!-- Description -->
                                <textInputLayout:SfTextInputLayout Hint="Description" ContainerType="Outlined">
                                    <Editor Text="{Binding EditingSummary}" AutoSize="TextChanges"
                                            Placeholder="Enter summary" />
                                </textInputLayout:SfTextInputLayout>

                            </VerticalStackLayout>
                        </ScrollView>
                    </DataTemplate>
                </popup:SfPopup.ContentTemplate>

                <popup:SfPopup.FooterTemplate>
                    <DataTemplate>
                        <Grid Padding="24" ColumnDefinitions="Auto,*,Auto,Auto" ColumnSpacing="15">
                            <!-- Delete button (only visible in edit mode) -->
                            <Border Grid.Column="0" VerticalOptions="Center" HorizontalOptions="Center" IsVisible="{Binding IsEditMode}" Stroke="Transparent">
                                <Border.StrokeShape>
                                    <RoundRectangle CornerRadius="15"/>
                                </Border.StrokeShape>
                                <Border.GestureRecognizers>
                                    <TapGestureRecognizer Command="{Binding DeleteCardCommand}"/>
                                </Border.GestureRecognizers>
                                <Label Text="Delete" Padding="10"
                                       TextColor="{AppThemeBinding Light={StaticResource LightButton}, Dark={StaticResource DarkButton}}" FontSize="14"/>
                            </Border>

                            <!-- Spacer -->
                            <BoxView Grid.Column="1" Color="Transparent"/>

                            <!-- Save button -->
                            <Border Grid.Column="2" VerticalOptions="Center" HorizontalOptions="Center" Stroke="Transparent">
                                <Border.StrokeShape>
                                    <RoundRectangle CornerRadius="15"/>
                                </Border.StrokeShape>
                                <Border.GestureRecognizers>
                                    <TapGestureRecognizer Command="{Binding SaveCardCommand}"/>
                                </Border.GestureRecognizers>
                                <Label Text="Save" Padding="10"
                                       TextColor="{AppThemeBinding Light={StaticResource LightButton}, Dark={StaticResource DarkButton}}" FontSize="14"/>
                            </Border>

                            <!-- Cancel button -->
                            <Border Grid.Column="3" VerticalOptions="Center" HorizontalOptions="Center" Stroke="Transparent">
                                <Border.StrokeShape>
                                    <RoundRectangle CornerRadius="20"/>
                                </Border.StrokeShape>
                                <Border.GestureRecognizers>
                                    <TapGestureRecognizer Command="{Binding CancelCardCommand}"/>
                                </Border.GestureRecognizers>
                                <Label Text="Cancel" Padding="10"
                                       TextColor="{AppThemeBinding Light={StaticResource LightButton}, Dark={StaticResource DarkButton}}" FontSize="14"/>
                            </Border>
                        </Grid>
                    </DataTemplate>
                </popup:SfPopup.FooterTemplate>
            </popup:SfPopup>

        </Grid>
    </ContentPage.Content>
</ContentPage>

```

### src/components/kanban-dialog-editing/Kanban.xaml.cs

```cs
using Syncfusion.Maui.Kanban;

namespace MAUI.Controls.Kanban.DialogEditing;

public partial class DialogEditingView : ContentPage
{
    private DialogEditingViewModel ViewModel => (DialogEditingViewModel)BindingContext;

    public DialogEditingView()
    {
        InitializeComponent();
        BindingContext = new DialogEditingViewModel();
    }

    private void OnKanbanCardTapped(object? sender, KanbanCardTappedEventArgs e)
    {
        if (e.Data is KanbanModel card)
            ViewModel.EditCard(card);
    }
}

```
