Skip to main content
All docs
V26.1
  • .NET Framework 4.6.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.v26.1.dll

    Declaration

    [DefaultValue(null)]
    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