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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:53:00+00:00 2026-05-11T15:53:00+00:00

I am creating a special search text box. Among other things it have these

  • 0

I am creating a special search text box. Among other things it have these two events:

    [Category('Behavior')]     public event EventHandler<GenericEventArgs<string>> Search;      [Category('Property Changed')]     public event EventHandler<EventArgs> ActiveColorChanged;      [Category('Property Changed')]     public event EventHandler<EventArgs> InactiveColorChanged; 

Thing is that only the bottom two shows up in the design view property event explorer thingy (whatever it’s name is…). And I am wondering why. Is it because I am not using the standard EventArgs? That shouldn’t be the case though, cause I mean, there are other events not using that… like the key press related events, etc…

The GenericEventArgs<T> class looks like this:

public class GenericEventArgs<T> : EventArgs {     public T Value { get; private set; }     public GenericEventArgs() : this(default(T)) { }     public GenericEventArgs(T value) { Value = value; } } 

What am I doing wrong here?

  • 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. 2026-05-11T15:53:01+00:00Added an answer on May 11, 2026 at 3:53 pm

    I suspect that the Property Grid does not support your double-generic EventHandler class. Try this:

    public delegate void GenericHandler<T>(object sender, GenericEventArgs<T> e); 

    If that doesn’t work, try a completely non-generic handler, if only to see if that’s where the problem is.

    If this is the problem, then I suggest you create a bug report about it on Connect, then post the URL to the bug here so we can vote on it.

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

Sidebar

Related Questions

I have a partial view that I am creating to apply a special format
I am creating a standard jQuery UI tab bar, nothing special except for the
My JSON contains special characters like: new line, double quotes etc. I am creating
Creating hashes of hashes in Ruby allows for convenient two (or more) dimensional lookups.
Creating Traversals for Binary Search Tree with Recursion. void inOrder(void (*inOrderPtr)(T&)) { if(this->left !=
I am creating an application where there is main DB and where other data
I am creating an online service where special users can upload their images. It
There's a bunch of special macros that MFC uses when creating dialogs, and in
I'm creating a fork of the textchange jQuery plugin , which uses the jQuery.event.special
I am creating a search function of my classifieds on my website. Here is

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.