Building Visual studio like application, need inputs
Asked Answered
K

3

-1

I am working on a Visual studio like application i.e. have a toolbox, an editor and property grid similar to VS.

User can drag and drop the controls(custom and third party) to the editor window and perform operations like resize, move, align, group etc.; Properties of that control needs to be displayed in property grid and user can update them from there.

As per my current understanding I will have to extend the Canvas to create my own editor and and Interface for controls which it supports; Each supported control will have to implement this interface so that it can be placed in our editor.

Something similar to this - http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part4.aspx

Looking forward for any kind of help, comment or links.

Kropp answered 25/3, 2010 at 9:8 Comment(1)
I have similar kind of requirement, can share how did you implement this.Apologete
K
0

Finally, I used the Diagram designer approch to build my application. Although, I had to create my custom property grid which was painful.

Recently I came across following post which suggests that .Net DesignSurface can be used for building this kind of application -

How to create an UI Designer utility?

Kropp answered 19/7, 2010 at 9:50 Comment(0)
D
0

If WPF is a requirement, wait for the VS2010 release and use the Visual Studio Shell in either isolated mode or integrated mode. Otherwise you can use the Visual Studio 2008 Shell isolated or integrated.

You'll get the docking support, addin model, editors with highlight and much more almost for free that way.

Docker answered 25/3, 2010 at 9:39 Comment(0)
K
0

Finally, I used the Diagram designer approch to build my application. Although, I had to create my custom property grid which was painful.

Recently I came across following post which suggests that .Net DesignSurface can be used for building this kind of application -

How to create an UI Designer utility?

Kropp answered 19/7, 2010 at 9:50 Comment(0)
F
0

I have been working on a generic framework Wide to create VS like applications.

Update: Here is the CodeProject article on how to use the framework.

Wide comes with two modules and various out of the box functions:

  • Core module (Required)
  • Used for customizable splash screen
  • Used for Menus (supports regular menus with icon, checkable menus)
  • Used for Toolbar (menu view model can be reused for toolbars)
    • Multiple toolbars can be added to the IDE (check demo)
  • Themes (VS2010, VS2012 Light theme and no theme)
    • ThemeManager to add/remove themes
  • Used for Statusbar (in development)
  • Open file service with participatory handlers (could be based on extension or even file contents)
  • Save and restore layout along with opening documents
  • Logger module (For the logging tool)
Felt answered 21/2, 2013 at 18:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.