Skip to content

Commit

Permalink
876078: changes updated
Browse files Browse the repository at this point in the history
  • Loading branch information
SumathiSumi committed Jun 19, 2024
1 parent 7b11ba0 commit 6ed33dc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions KB-Samples/MAUISample/OrgChart/Components/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
node.Width = 120;
//Initializing the default node's shape style.
node.Style = new ShapeStyle() { Fill = "darkcyan", StrokeWidth = 3, StrokeColor = "Black" };
node.Annotations = new DiagramObjectCollection<ShapeAnnotation>()
{
new ShapeAnnotation { Style = new TextStyle() { Color = "white", Bold = true },Content = node.Annotations[0].Content }
};
node.Annotations[0].Style = new TextStyle() { Color = "white", Bold = true };
}

private void OnConnectorCreating(IDiagramObject connector)
Expand Down

0 comments on commit 6ed33dc

Please sign in to comment.