Skip to content

syncfusion/wpf-ui-components-skills / skills/syncfusion-wpf-checkedlistbox

syncfusion-wpf-checkedlistbox

Verified

Implements the Syncfusion WPF CheckedListBox (CheckListBox) control for multi-select lists with checkboxes. Use this when adding checklist controls, checkbox-enabled item lists, or SelectAll functionality in WPF applications. Covers data binding, appearance customization, grouping/sorting, item selection handling, and virtualization.

references/getting-started-extras.md

View on GitHub
````markdown
# Getting Started — Full Examples & Extras

This file contains the longer walkthroughs, full XAML/C# examples, and localization instructions moved out of the main getting-started summary.

## NuGet Installation

```powershell
Install-Package Syncfusion.Tools.WPF
```

## Full MainWindow.xaml Example

```xml
<Window x:Class="CheckListBoxDemo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
        Title="CheckListBox Getting Started" Height="400" Width="500">
    <Grid Margin="20">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <syncfusion:CheckListBox x:Name="checkListBox" Grid.Row="0" ItemChecked="CheckListBox_ItemChecked">
            <syncfusion:CheckListBoxItem Content="Austria" />
            <syncfusion:CheckListBoxItem Content="Australia" />
            <syncfusion:CheckListBoxItem Content="Canada" IsSelected="True" />
            <syncfusion:CheckListBoxItem Content="Finland" />
            <syncfusion:CheckListBoxItem Content="New Zealand" />
        </syncfusion:CheckListBox>
        
        <Button Grid.Row="1" Content="Show Checked Items" Click="ShowCheckedItems_Click" Padding="10,5" />
    </Grid>
</Window>
```

## Code-behind handlers

```csharp
private void CheckListBox_ItemChecked(object sender, ItemCheckedEventArgs e)
{
    var item = e.Item as CheckListBoxItem;
    this.Title = $"{item.Content} was {(e.IsChecked ? "checked" : "unchecked")}";
}

private void ShowCheckedItems_Click(object sender, RoutedEventArgs e)
{
    var sb = new StringBuilder();
    foreach (var item in checkListBox.SelectedItems)
    {
        var checkListItem = item as CheckListBoxItem;
        sb.AppendLine($"- {checkListItem.Content}");
    }
    MessageBox.Show(sb.ToString());
}
```

## Localization

See Syncfusion docs for localizing built-in strings; create `.resx` files and set `CurrentUICulture` appropriately.

````
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall