Hi,
I want to use WinForms RadDigram as platform for a gui Editor.
is it possible to add a "normal" control object like button or even an RadChart as RadDiagramShape ?
BTW: ist WinForms a right choys for future prooft Projects
Besdt Regards
Paul
3 Answers, 1 is accepted
0
Hello Paul,
Thank you for writing.
You can utilize the RadHostItem class and add controls to the diagram shape elements:
Additional information is available here: http://docs.telerik.com/devtools/winforms/telerik-presentation-framework/elements/use-control-inside-an-element.
Regarding your other questions can you please elaborate on it as it is not clear what exactly you are asking.
I hope this helps. Looking forward to your reply.
Regards,
Hristo
Progress Telerik
Thank you for writing.
You can utilize the RadHostItem class and add controls to the diagram shape elements:
public
partial
class
Form1 : Form
{
public
Form1()
{
InitializeComponent();
RadDiagramShape shape =
new
RadDiagramShape()
{
Text =
""
,
Shape =
new
RoundRectShape(),
BackColor = Color.LightGreen,
Position =
new
Telerik.Windows.Diagrams.Core.Point(100, 100)
};
RadChartView chart =
new
RadChartView();
RadHostItem host =
new
RadHostItem(chart);
shape.DiagramShapeElement.Children.Add(host);
this
.radDiagram1.AddShape(shape);
}
}
Additional information is available here: http://docs.telerik.com/devtools/winforms/telerik-presentation-framework/elements/use-control-inside-an-element.
Regarding your other questions can you please elaborate on it as it is not clear what exactly you are asking.
I hope this helps. Looking forward to your reply.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Paul
Top achievements
Rank 1
answered on 11 Aug 2017, 12:00 PM
Hi Hristo
thanks a lot for that example.
We are looking for the right technology for our the new developements and I want to know if the WinForms is a "future prooft" technology or we should use i.e. WPF or event other type of GUI library
best regards
Paul
0
Hi Paul,
Thank you for the update.
The choice of technology for future developments is up to you. WinForms and WPF are mature enough to provide a good foundation for creating excellent desktop applications with great user experience.
Considering WinForms, you can refer to our roadmap details of what is about to come in the next release: http://www.telerik.com/support/whats-new/winforms/roadmap. You can also check the release history as we have recently implemented some major tasks, like a map control, built-in high DPI support, a Material theme etc. We are also fixing numerous issues on regular basis increasing the quality of our codebase.
I hope this information was useful. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Thank you for the update.
The choice of technology for future developments is up to you. WinForms and WPF are mature enough to provide a good foundation for creating excellent desktop applications with great user experience.
Considering WinForms, you can refer to our roadmap details of what is about to come in the next release: http://www.telerik.com/support/whats-new/winforms/roadmap. You can also check the release history as we have recently implemented some major tasks, like a map control, built-in high DPI support, a Material theme etc. We are also fixing numerous issues on regular basis increasing the quality of our codebase.
I hope this information was useful. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.