public NodeCaptionLabel(VplElement hostElement)
{
HostElement = hostElement;
//HostElement.HostCanvas.Children.Add(this);
HostElement.HitTestGrid.Children.Add(this);
Grid.SetColumn(this, 1);
Style = FindResource("EditableLabelStyleGroup") as Style;
var b = new Binding("Content")
{
Source = this,
Mode = BindingMode.TwoWay
};
HostElement.SetBinding(VplElement.NameProperty, b);
HostNodeGroup_PropertyChanged(null, null);
HostElement.PropertyChanged += HostNodeGroup_PropertyChanged;
}