Convert contents of a ListBoxItem to an instance of Thickness by using the ThicknessConverter