Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8415681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:30:57+00:00 2026-06-10T01:30:57+00:00

I am currently developing an application that allows the use of plugins. One of

  • 0

I am currently developing an application that allows the use of plugins. One of the features is that the plugin could expose a settings UI that the hosting application would embed somewhere for the user to see.

What I am wondering is if there is some way that I can add a property to my plugin interface that will allow a plugin developer to create either a wpf or winforms UI and expose it through this property while keeping the property typed? (ie. not using “object” as the property type), or without the use of seperate properties (ie. WPFUI, WinFormsUI) etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:30:59+00:00Added an answer on June 10, 2026 at 1:30 am

    The two technologies work very differently. I would recommend either exposing a Windows.Forms.Control or a FrameworkElement, but not both (at least not from the same plugin API).

    If you expose a Control, it’s simple for a WPF control to be served up using an ElementHost. Likewise, a FrameworkElement can be provided by a Windows Forms plugin via a WindowsFormsHost.

    My decision here would be more in terms of how the host application is developed. If you’re using WPF, I would strongly recommend exposing the plugin as a FrameworkElement, as this provides you a lot more flexibility. If your main application is going to be Windows Forms based, then just exposing a Control is simple.

    If you don’t want this added complexity, I’d actually recommend two separate APIs – one for Windows Forms users and one for WPF users, as this keeps the simplicity on the end users’ part the same. Depending on the plugin mechanism, this is typically fairly simple to provide.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing a web application that has one feature while allows input from
I am currently developing an application that makes use of an SQL database. In
I'm currently developing an Android application that fetches images using http requests. It would
Background: We are developing a web application that includes charts. Currently one can left-click
Currently I'm developing a GAE application in golang that would allow the users to
I'm am currently developing an ASP.NET intranet application. One of the features of this
I am currently developing an application that use the System.DirectoryServices namespace to create a
I'm currently developing a GUI for a Java-application that I've created. I would like
I'm currently developing a small rails application that allows me to manage my personal
I am currently developing an application that displays documents and allows the members to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.