public NodePinButton(VplElement hostElement)
{
HostElement = hostElement;
//HostElement.HostCanvas.Children.Add(this);
HostElement.HitTestGrid.Children.Add(this);
Grid.SetColumn(this, 3);
Style = FindResource("PinButton20") as Style;
HostNodeGroup_PropertyChanged(null, null);
hostElement.PropertyChanged += HostNodeGroup_PropertyChanged;
}