Adding text to moving Ellipse in C# WPF -
i have program in c#, wpf. have canvas , on canvas exists many ellipses moving randomly. can add text each ellipse example position of ellipse ???
of course, create user control. xaml of user control grid contains ellipse , textbox set want. define propertychanged notifying properties need, x,y, , maybe other text property. bind user control's xaml (canvas.top/.left) user control's properties, , you're done.
Comments
Post a Comment