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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:22:30+00:00 2026-05-29T07:22:30+00:00

I want to bubble an event from a class to a Custom Usercontrol. My

  • 0

I want to bubble an event from a class to a Custom Usercontrol.
My Usercontrol is basically a datasheet.

Sheet
  -> List<Row> Rows
   ->List<Cell> Cells

My UC(Sheet) has a list of Rows(Class) with each Row having a list of Cells(Class). My question is.. How can i raise an event from a Cell that the sheet can catch??

  • 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-05-29T07:22:31+00:00Added an answer on May 29, 2026 at 7:22 am

    Your cells can raise an event on the sheet, if they are aware of the sheet. For instance:

    {
       ... some code ...
       Sheet.RaiseCellChanged(this.CellId);
    }
    

    Of course then each cell must have a way of referencing the sheet that it’s on (using a Sheet property in the example above).

    Another, more messy, option would be to have the Sheet subscribe to events on all individual cells. That would be more work, but then at least the Cells don’t have to be aware of the Sheet they are on.

    EDIT:
    To answer your additional question, performance-wise there wouldn’t really be a difference. The code would be easier to write using the first approach, simply also because your Sheet — or any other object — would only have to subscribe to a single event to receive data from any changing cell (assuming that that is what you want).

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

Sidebar

Related Questions

I cannot bubble the event because I want to send to another class that
So, events bubble up the display list. That's great if that's what you want.
I want to bubble some information from a frame to its parent object (information
I created a custom event class, and a EventDispatcher-derived class. What i did, is
I have declared an event in my UserControl class Main: public static readonly RoutedEvent
I have a custom event and want to attach a property (a string would
I want to sort array using Bubble Sort. I an missing a small point
I want to do so the size of the bubble, is auto-adjusting after the
I have a bubble with content, which is working fine. Now, I want to
Want to run javascript function from parent window in child window Example I have

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.