DynamicObjectTwoWayDataBinding
AN example showing how to perform two-way databinding using a dynamic object in Windows Forms.
Install / Use
/learn @r-aghaei/DynamicObjectTwoWayDataBindingREADME
DynamicObject Two-Way Data Binding
To create a Dynamic Object which you can use for two-way data-binding to Windows Forms control, you should derfive from DynamicObject and also implement ICustomTypeDescriptor and INotifyPropertyChanged interface.
ICustomTypeDescriptor is responsible to return metadata about the object including a list of properties. Since DynamicObject doesn't have real properties, you should return a list of custom PropertyDescriptor objects which allow the consumer to get/set value of the property.
INotifyPropertyChanged is responsible for raising PropertyChanged event. It's a key point in two-way data-binding.
In the example, I've craeted an implementation of the DynamicObject which you can simply add properties to it and use for two-wat data-binding in Windows Forms.

Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
