The RootKeyValue parameter accepts an unsigned value (0u) but the DataTreeListView control accepts the RootKeyValueString parameter which does not convert the value "0u" to an unsigned 0
I found this comment:
// The DataTreeListView needs to know the key that identifies root level objects.
// DataTreeListView can handle that key being any data type, but the Designer only deals in strings.
// Since we want a non-string value to identify keys, we have to set it explicitly here.
this.olvDataTree.RootKeyValue = 0u;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found this comment:
// The DataTreeListView needs to know the key that identifies root level objects.
// DataTreeListView can handle that key being any data type, but the Designer only deals in strings.
// Since we want a non-string value to identify keys, we have to set it explicitly here.
this.olvDataTree.RootKeyValue = 0u;