internal ImageShadow(ImageShadow other, PropertyChangedCallback callback = null) : base(other) { propertyMap[Visual.Property.Type] = new PropertyValue((int)Visual.Type.NPatch); Url = other.Url; Border = other.Border; OnPropertyChanged = callback; }
static public object Clone(ImageShadow instance) { return(instance == null ? null : new ImageShadow() { Offset = instance.offset, Extents = instance.extents, Url = instance.url, Border = instance.border }); }
public ImageShadow(ImageShadow other) : this(other == null ? throw new ArgumentNullException(nameof(other)) : other.Url, other.Border, other.Offset, other.Extents) { }
public ImageShadow(ImageShadow other) : this(other?.Url, other.Border, other.Offset, other.Extents) { }