Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
MCP Servers
AI for UI
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Hi,
Can i add shapes from RadDiagramToolbox to RadDiagram by double clicking on the items instead of drag and drop?
Thanks.
public
RadForm1()
{
InitializeComponent();
this
.radDiagramToolbox1.ItemMouseDoubleClick += radDiagramToolbox1_ItemMouseDoubleClick;
}
private
void
radDiagramToolbox1_ItemMouseDoubleClick(
object
sender, Telerik.WinControls.UI.ListViewItemEventArgs e)
DiagramListViewDataItem logicalItem = (DiagramListViewDataItem)e.Item;
RadDiagramShape shape =
new
RadDiagramShape();
shape.Shape = logicalItem.Shape;
shape.Width = 40;
shape.Height = 40;
shape.BackColor = System.Drawing.Color.Yellow;
.radDiagram1.AddShape(shape,
null
,
true
);