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 8645529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:34:28+00:00 2026-06-12T12:34:28+00:00

I hav created a lib which reads an XAML file and generates a HUD

  • 0

I hav created a lib which reads an XAML file and generates a HUD for a game. So, now anyone can use WPF projects in visual studio to design and create a simple HUD. After that the XAML file is loaded to my lib and the HUD is created using directX. Thats the basic idea of it.

Now I want to let users create the XAML file using our own GUI editor project, without creating WPF projects and copy pasting XAML files from those WPF projects for implementing the HUD.
So users must be able to,

  • Open Visual Studio and create new project of project type (project template) “Easy HUD Designer” project
  • design the HUD using the visual GUI editor.
  • Build the project so that it generates an XAML file. (or the XAML could be generated/modified while the GUI is edited, just like in WPF projects)

How to do this?

I was thinking if I can do this using Visual Studio SDK, but could not find any info on creating a visual GUI editor using it. Currently I have VS2008 and VS2010.

If this is not possible or feasible, I think I should consider about creating our own HUD designing software. A completely new application. Any suggestions and info on this is also welcome.

A somewhat similar question I found : Using the visual studio wpf editor to create an gui not for windows gui

— EDIT —

I found some hints of doing this by experimenting,

  • Create Empty C# project
  • Add Presentation Core, Presentation Framework and Windows Base to References
  • Set project type to library ( so that building the project will not give build errors )
  • Add XAML files. ( i copied an XAML file and removed the x:Class="bla bla.." attribute from the window tag. )

This thing can be used as the project template prototype. But I would also like to control what is shown on the ToolBox at the time that user is editing this project. I also want to add the file type XAML to “Add New Item” window so that it will add a new xaml file to the project which has the following code

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >

</Window>
  • 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-12T12:34:29+00:00Added an answer on June 12, 2026 at 12:34 pm

    Found a Solution 🙂
    Ensure to have .Net Framework 3.0 or above installed. ( don’t need to have C# compilers installed. )

    1. Create your C++ project. ( I guess this could work with other project types too )
    2. Add a new item the way you normally do ( there are many ways, so just use the way you like ) and that item should be a text file with the extention .xaml ( e.g. “myFile.xaml” )
    3. Open it in the Visual Studio (See that design area is available but its giving an error)
    4. Ignore the messages/warnings/errors for a second and Add the following code to your xaml file,

    <Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        >
    
    </Window>
    

    1. Close the file and open it again. Goto the design area of the xaml file and see that it is now having the GUI editor capabilities.

    p.s.
    Just in case you are not familiar with WPF, remember to add a Grid tag inside this window tag. Otherwise you cannot add any rectangles or other things and edit them correctly.

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

Sidebar

Related Questions

i hav created a COM component using vs2005 . Now let me know can
In my applications i hav a terms and conditions view describing terms to use
I hav created a group of textboxes using a loop and its names are
I develop RoR app and i met thing which i can't solve. I have
Can we create an object of a class inside another class in php?I hav
i hav a piece of code in which i have been comparing 2D and
i have created a multiple choice question .it hav 3 options in a custom
I have created a C++/CLI mixed DLL which I am using from C# Winforms
I hav to grep a file whos content is as follw: bla bla bla
im a newbie to flash,and i hav got this really weird problem.i have created

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.