Thanks for the response.
Unforunately, we would like to make use of the ControlNode''s System.Windows.Forms.Control''s Text Property. Is there anyway we can do that?
Also, as for the redrawing issue with the buttons, I believe this may have to do with Visual Styles being enabled. At first, I thought that the bug popped up right after our upgrade to 4.1, but around that time, we also enabled visual styles in our app to emulate the XP look & feel.
> Hi Jeff,
>
> Thanks for your interest in Syncfusion.
>
> My apologies for the delay in responding.
>
> 1.If your intention is to set the Label value for the ControlNode in the SymbolDesigner,then you can make this by using Labels property in the PropertyEditor.I have attached a sample palette file which when loaded onto the Diagram appears with its Label value.Also in the Sample, please comment the code statements in the ChildrenChangeComplete Event block to view the default Label value.Please refer the sample image file.
>
> 2. As with the work around,if you add a Symbol from the Palette file onto the Diagram ,it is added as a Symbol node.Please refer the following code snippet to set the Label value for the symbol .
>
> // Add the following codes to the ChildrenChangeComplete Event block.
> if(evtArgs.Node is Symbol)
> {
> Symbol newsym = evtArgs.Node as Symbol;
> newsym.Labels[0].Text = "AddedLabel";
> }
>
>3. I am afraid that I was not able to reproduce this issue. I have tested this condition with a small sample in which I have added a button control onto the Diagram.Kindly, refer the sample in particular the drawControlNode_Click() code block.
>
> Please refer the sample and let me know if this helps you.
>
> Regards,
> Praveena.
>
>
>
Label_ControlNode.zip