Bug or Feature?

1 posts, 0 answers
  1. Holger Boskugel
    Holger Boskugel avatar
    27 posts
    Member since:
    Apr 2012

    Posted 31 May 2012 Link to this post


    some minutes ago I discovered a behavior on GridView which let me struggled for some time. The background is, I fill the rows with data and set the Tag property of row to my data object. After calling GridView.Relations.AddSelfReference the type of rows changed from GridViewDataRowInfo to GridViewHierachyRowInfo. Cell data is copied, but Tag value is missed. As I saw in the Constructor of GridViewHierachyRowInfo the data cache is only copied. In my mind also the Tag data schould be copied?

    My workaround is to build a separate Dictionary with the key on my data object, also used in the hierachy. So I can access the data, which should be stored in Tag property, now from Dictionary using the value of ny ID column in GridView.

    Same behavior can also be discovered on Tag property of the Cells.

    Regards from Leipzig

Back to Top