I want to develop a pie chart with functionality of dragging and resizing but not like a fixed size.
Initially it should come as a quater sized and should be ressizable to any angle just like done with the MS power point.
Any idea to kick start this one would be really appreciated.
Thanks for your reply.
You may be aware of the different shapes we can draw in MS Power point like Rectangle, Pie chart, Circle etc. however I want to do the same thing along with rotation, resizing and dragging controls at run time.
If possible, could you please help and direct me how to achieve this?
You should stick with TnTinMN's example. You can still resize the object at runtime but you will lose rotation along any axis other than Z.
If you really must have it in 3D for some reason, then you will need to learn how to utilise Viewport3D, Cameras, a litle of DirectX and 3D Geometry. You will need a basic understanding of 3D mathematics which includes (but is not limited to); matrix mathematics, vector mathematics, quaternions and shape algebra (do you know the equation to compute a sphere? How about a cross section of it?).
A introductory tutorial on how to program for 3D in WPF can be found Here
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...