public void Merge(ImageStyle style)
 {
     if (style != null)
     {
         Margin = Margin.Merge(style.Margin);
         if (HorizontalAlignment != style.HorizontalAlignment)
         {
             HorizontalAlignment = style.HorizontalAlignment;
         }
     }
 }
示例#2
0
 public void Merge(ImageStyle style)
 {
     if (style != null)
     {
         Margin = Margin.Merge(style.Margin);
         if (HorizontalAlignment != style.HorizontalAlignment)
         {
             HorizontalAlignment = style.HorizontalAlignment;
         }
     }
 }