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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:25:00+00:00 2026-06-17T06:25:00+00:00

In order to build flexibility into my program I would like to offer the

  • 0

In order to build flexibility into my program I would like to offer the user the option to customise the toolstrip buttons.

Behind each button there will be a class definition and all buttons will have the same structure; however, the structure will vary from user to user subject to how they will use the program. An example would be to have one button define a part-number and another to define the quantity or manufacturer etc.

My original thought was to put the definition into an XML file and then read the file as I draw the toolstrip to define sequence-position, colour and text displayed of each button and then to create the classes for each button from other fields in the XML.

I guess I could set a limit and hard-code the data-types for each but I wondered if this could be done dynamically somehow?

I have created an XSD from the VS2010 XML > Create Schema menu with my XML file open but it is specific to the XML type I have now, of course.

  • 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-17T06:25:01+00:00Added an answer on June 17, 2026 at 6:25 am

    You may consider using XML Serialization. But be aware that there are some limitations to this method because it will not pull all the graphs when serialized. It will mainly take the public properties. For more information see . . .

    http://support.microsoft.com/kb/815813

    I hope thats what you mean by dynamic.

    Here is a site that you might be interested in, but XAML gets much deeper than this

    A very simple UI Customization
    http://msdn.microsoft.com/en-us/library/bb613545.aspx

    Here are some more resources about XAML . . .

    I believe it was Chapter 18 or Part 4 where he briefly talked about
    CIL code and XAML Code and how to dynamically load them . . .
    http://www.amazon.com/Pro-NET-Framework-Professional-Apress/dp/1430242337

    This book is targeted specifically at WPF platform.
    http://www.amazon.com/Pro-WPF-4-5-Presentation-Professional/dp/1430243651/ref=sr_1_1?s=books&ie=UTF8&qid=1358010247&sr=1-1&keywords=C%23+wpf

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

Sidebar

Related Questions

I would like to retrieve the categories of my website in order to build
I would like to use squeel in order to build query like: SELECT *
I'm starting research on what I'd need in order to build a user-level plugin
Just thinking about the best way to build an Order form that would (from
My program is going to build me lots of homes. The specification for each
I would like to use the MSBuild task in my target in order to
Im using the sortable() function in jquery in order to build something like a
I would like to get some help about compiling OPAL lib in order to
In order to build a measurement tool, I need to capture packets, forge them
How do i change the build order to allow [Object] to be built ahead

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.