Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 static public object Clone(ImageShadow instance)
 {
     return(instance == null ? null : new ImageShadow()
     {
         Offset = instance.offset,
         Extents = instance.extents,
         Url = instance.url,
         Border = instance.border
     });
 }
Ejemplo n.º 3
0
 public ImageShadow(ImageShadow other) : this(other == null ? throw new ArgumentNullException(nameof(other)) : other.Url, other.Border, other.Offset, other.Extents)
 {
 }
Ejemplo n.º 4
0
 public ImageShadow(ImageShadow other) : this(other?.Url, other.Border, other.Offset, other.Extents)
 {
 }