Changed string casting so it will not throw an exception if object to cast is not expected type
Merge branch 'WpfDesignerInPlaceEditorTextValueCast'