Code crashes at selected line. Reason: Cannot cast TextBlock to Element. One would think that the SparseArray(items) is of type \'Element\' because of previous declarations.(lan