Context menu on a WinForms control in WPF - asp.net

I have the need of a chart/graph control in a WPF application, and I have managed to use the System.Windows.Forms.DataVisualization.Charting via .
I would like to have a context menu for the chart, and I would like to have the context menu done in WPF so I wont have to do a WinForms control that wraps the Chart and adds a context menu.
How can I accomplish this?

Related

Creating UI elements in Xamarin.Forms

I am not in Xamarin.Forms. In windows desktop apps (win forms and wpf), you can create a user UI component and you can use it in any project. Is it possible to create that kind of small UI elments in Xamarin.Forms?
I will have like a dll and will add to my project and will add to my form and I will give properties that I'll already defined in the UI element.
So, in Xamarin Forms world, we typically create User Controls through use of ContentView.
This can be done with a XAML part and code behind, but you can easily create them just in code too.
There are a series of tutorials available on the web, one that is very clear is this one https://mindofai.github.io/Creating-Custom-Controls-with-Bindable-Properties-in-Xamarin.Forms/
If needed, you can create a separate Xamarin Forms project that encapsulates your controls and reference that in your main app solution.

Drag and drop controls at runtime in ASP.NET

We have requirement in our application to create template pages at run time. For this we need to have a feature like form designer in ASP.NET to be built. Facility to drag the controls from toolbox and drop in the form at runtime should be made available to the user. Solution should be in pure ASP.NET. Silverlight is not being used in the application. Please suggest a best way to achieve this requirement.
Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.
http://jqueryui.com/draggable/

Reusable asp dot net configurable menu control

I know this should ask to google :) but some how google is unable to search the control what i needed..
I want to downaload the menu custom control developed in asp.net which should be configurable with web application as per customization. like telerick controls. is there any link from which i can perform such control downalods (eaxcept telerik) ?
Where should i can add items,Edit, remove items, add sub sub items herarchically... no need to go inside the source code , just work from UI.

extend the web controls in c#

I am developing the menu webpart using the asp.net Menu control in user control page for sharepoint 2010. I want to make available properties and methods of menu to developer (API). SO i need to either override all the menu control members in custom class which extends Menu. but it is not abstract control right? so how i can do this? How i can make available to developers to extend the menu control ? is i need to write extension methods for menu control ? please guide. I am using VS 2010 with 3.5 framework.
a simple google search emits this

MSChart inside a usercontrol

Can you use the new Microsoft Chart Control for .NET Framework inside a usercontrol? Bacause when i take a working chart from my page and then copy it to a usercontrol the picture is blank very weird. Is there something wrong in my chart settings?
Yes. I am currently using the MS Chart Control within user controls (.ascx) in my application.
I suspect you will need to debug your page + control to see exactly why it is not working as expected.
But i would assure you that there are no inherent issues with having a chart control within a user control.

Resources