Previously, View.BackgroundImage is set, PropertyValue constructor can
be called with null pointer and this causes crash.
Now, it has been fixed not to pass null pointer to PropertyValue
constructor.
var borderlineOffset = new PropertyValue(backgroundExtraData.BorderlineOffset);
var synchronousLoading = new PropertyValue(backgroundImageSynchronousLoading);
var npatchType = new PropertyValue((int)Visual.Type.NPatch);
- var border = new PropertyValue(backgroundExtraData.BackgroundImageBorder);
+ var border = (backgroundExtraData.BackgroundImageBorder != null) ? new PropertyValue(backgroundExtraData.BackgroundImageBorder) : null;
var imageType = new PropertyValue((int)Visual.Type.Image);
map.Add(ImageVisualProperty.URL, url)