コード例 #1
0
 /// <summary>
 /// Deletes property from this very renderer, or in case the property is specified on its model element, the
 /// property of the model element is deleted
 /// </summary>
 /// <param name="property">the property key to be deleted</param>
 public virtual void DeleteProperty(int property)
 {
     if (properties.ContainsKey(property))
     {
         properties.JRemove(property);
     }
     else
     {
         if (modelElement != null)
         {
             modelElement.DeleteOwnProperty(property);
         }
     }
 }