Add TreeGridItem.Tag.
Added null check.