mcpbeat

Managing Winforms Data Binding

microsoft/managing-winforms-data-binding

> Implements WinForms data binding patterns with BindingSource, INotifyPropertyChanged, validation, and master-detail scenarios. Use when binding controls using DataBindings.Add, setting up BindingSource with DataSource, implementing INotifyPropertyChanged for automatic UI updates, creating two-way bindings between controls and data objects, using BindingSource.Filter or BindingSource.Sort, implementing master-detail relationships with related BindingSources, handling binding validation with ErrorProvider, or troubleshooting binding update issues and performance. Also triggers for "BindingSource", "DataBindings.Add", "INotifyPropertyChanged WinForms", "two-way binding", "ErrorProvider", "master-detail binding", "BindingNavigator", "DataSource binding", and "WinForms data binding".

5k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
17
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill managing-winforms-data-binding

What comes with it

16 739 bytes besides the instruction
ref/detailed-guide.md

The instruction itself

5 sections, as written by the author

WinForms Data Binding Guide

Data binding in WinForms enables automatic synchronization between UI controls and data sources, eliminating manual property updates and keeping view and data in sync.

When to Use This Skill

Use this skill when:

  • Binding Label, TextBox, Button, ComboBox, or other controls to data objects
  • Implementing two-way data binding
  • Working with BindingSource components
  • Creating master-detail data relationships
  • Setting up DataGridView with data sources
  • Implementing data validation with ErrorProvider
  • Converting between WPF/MAUI ObservableCollection and WinForms BindingList
  • Creating .datasource files for Designer support in the PropertyGrid's BindingPicker
  • Troubleshooting binding updates or performance issues
  • WinForms Development
  • WinForms Designer Code
  • WinForms MVVM
  • WinForms Async APIs
  • WinForms Custom Controls and UserControls

Detailed Guidance

Read Detailed guide for comprehensive patterns, examples, and troubleshooting.

Workflow

  • Confirm the scenario matches the triggers in this skill.
  • Apply the baseline pattern from this file.
  • Read Detailed guide for advanced or edge-case handling.
  • Validate changes with an actual build and runtime check.

How to use it

Copy the folder

Take microsoft/managing-winforms-data-binding from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.