public void Dispose()
 {
     Nodes?.Deregister(this);
     RemoveBorderAndContent();
 }