2024年3月23日发(作者:)
BindingSource类()
MicrosoftDocs
BindingSource 类
定义
•
•
命名空间:
•
•
•
•
•
程序集:
•
•
封装窗体的数据源。
C#
[xBindingProperties("Dat
aSource", "DataMember")]
public class BindingSource :
ent, ,
ngListView,
lAddNew,
rtInitializeNotification,
List,
ncyManagerProvider
•
•
继承
•
•
Object
MarshalByRefObject
Component
BindingSource
•
•
•
属性
•
•
ComplexBindingPropertiesAttribute
•
•
•
实现
•
ICollection IEnumerable IList IBindingList IBindingListView
ICancelAddNew ISupportInitialize ISupportInitializeNotification
ITypedList ICurrencyManagerProvider
•
示例
下面的代码示例演示绑定到 BindingSource的 ListBox。
BindingSource 绑定到包含字体列表的 BindingList
C#
using System;
using c;
using entModel;
using g;
using ;
using ;
namespace BindingSourceExamples
{


发布评论