@cliffyq wrote:
Hi, I have a textblock inside an item array of a node, something like this:
$(go.Node, "Vertical", { selectionAdorned: false } , $(go.Panel, "Spot", $(go.Shape, "RoundedRectangle", { fill: "lightgrey", width: 100, height: 100, portId: "", fromLinkableSelfNode: true, toLinkableSelfNode: true }), new go.Binding("itemArray", "portArray"), { itemTemplate: $(go.Panel, "Vertical", new go.Binding("alignment", "spot"), $(go.TextBlock,...)and I'd like to set the layer of the TextBlock to be Adornment, but I can't assign layerName property to the TextBlock or it's parent Panel since layerName belongs to a Part, nor can I wrap the text block in a part because I can't add a part into the panel, is there any way to achieve that?
Posts: 3
Participants: 2