Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="decoration"></param>
 public void RemoveDecoration(IEntityDecoration decoration)
 {
     if (m_decorations.Remove(decoration))
     {
         RemoveChild(decoration.Node);
         ComputeDecorationPositions();
     }
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="decoration"></param>
 public void AddDecoration(IEntityDecoration decoration)
 {
     if (m_decorations.Add(decoration))
     {
         AddChild(decoration.Node);
         ComputeDecorationPositions();
     }
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="decoration"></param>
 public void AddDecoration(IEntityDecoration decoration)
 {
     if (m_decorations.Add(decoration))
     {
         AddChild(decoration.Node);
         ComputeDecorationPositions();
     }
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="decoration"></param>
 public void RemoveDecoration(IEntityDecoration decoration)
 {
     if (m_decorations.Remove(decoration))
     {
         RemoveChild(decoration.Node);
         ComputeDecorationPositions();
     }
 }