Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XPBindingSource.ObjectClassInfo Property

Gets or sets the XPClassInfo metadata that describes the type of items the data source contains.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

[DefaultValue(null)]
[TypeConverter("DevExpress.Xpo.Design.ObjectClassInfoTypeConverter, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
public XPClassInfo ObjectClassInfo { get; set; }

Property Value

Type Default Description
XPClassInfo *null*

Metadata that relates to the data source the XPBindingSource uses.

Remarks

Set the Dictionary or the ObjectClassInfo property manually when the XPBindingSource uses collections that do not implement the IXPDictionaryProvider interface.

Refer to the DataSource article for additional information on data sources and related limitations.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ObjectClassInfo property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also