TreeListBoxItemAdapter example

Grids for WPF Forum

The latest build of this product (v24.1.2) was released 3 months ago, which was before this thread was created.
Posted 1 month ago by John Bell
Version: 24.1.2


Is there an example of an implementation of TreeListItemAdapter that does not use binding and does not require a Children Property in the item object? The documentation appears to suggest that this is possible since it claims that one purpose of the ItemAdapter is that you are not forced to implement Actipro interfaces in your existing data model.



Comments (1)

Posted 1 month ago by Actipro Software Support - Cleveland, OH, USA

Hi John,

The DefaultTreeListBoxItemAdapter class in our samples does not use bindings at all and does not require any kind of interface usage.  It shows how a custom viewmodel for tree items that is completely defined externally can be read and consumed.  It might be the example you're looking for.

The item adapter is the middleman that provides data back to the TreeListBox (or inherited) control via bindings OR method overrides (as in this sample) that know how to examine the custom viewmodel.

Actipro Software Support

Add Comment

Please log in to a validated account to post comments.