Beispiel #1
0
 public void RemoveAreaItem(ContentsAreaItem areaItem)
 {
     if (ContentsCanvas != null & ContentsCanvas.Children.Contains(areaItem))
     {
         ContentsCanvas.Children.Remove(areaItem);
     }
 }
Beispiel #2
0
 public void AddAreaItem(ContentsAreaItem areaItem)
 {
     if (ContentsCanvas != null & !ContentsCanvas.Children.Contains(areaItem))
     {
         ContentsCanvas.Children.Add(areaItem);
     }
 }