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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:50:14+00:00 2026-06-13T13:50:14+00:00

I made a custom control for WinForms in C#. One of it’s properties is

  • 0

I made a custom control for WinForms in C#. One of it’s properties is an audio stream that will be played at some point. Is there a way I can tell VS that this property should be chosen from the resource manifest (specifically audio resources) with a property or similar?

The property, defined.

The commented property is an audio stream.

Control properties.

This is how it shows in the WinForms designer.

Binary data editor.

This is what you get when you click the edit […] button. I want this to be replaced by an resource chooser.

  • 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-13T13:50:15+00:00Added an answer on June 13, 2026 at 1:50 pm

    What you are looking for is:

    [Editor(typeof(MyAudioEditor), typeof(UITypeEditor)]
    

    This attribute let you specify a specific editor to be used when that property is displayed in a property grid.

    You can then derive and create your new editor from a base type. The base type must be or must derive from System.Drawing.Design.UITypeEditor.

    In most case, when the Editor is invoked, you pop-up a form of your choice, and bind its return value to your property.

    UITypeEditor has 4 virtual methods and one virtual property that let you change all the behavior when someone interact with your property or when your property is painted in the grid.

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

Sidebar

Related Questions

I made a custom control that is basically a multiline TextBox that allows input,
Made a custom obj called Item with some string fields and one float. .h
EDITED FOR BETTER UNDERSTANDING I made a custom control with propertise for some global
I've made a custom control that inherits from a Literal control. When I try
I have a custom control that is made up of a text field and
We have a custom made server control which several properties defined in it. <cc1:DropdownCheck
I have made a WinForms application with a custom richtextbox control. I am referring
I've made a custom DataGridViewCell that displays a custom control instead of the cell;
I'm writing php and I have a custom made control that is Grid and
I have a custom user control that I made called OrderForm.ascx . I also

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.