R
Randy
Hello,
I've got an app that creates a custom class and extends
DataGridTextBoxColumn. I found this out on the web somewhere. I plugged it
in my app and works fine. However, I'm perplexed on something. Within this
class it has two methods...
public void HandleMouseUp(object sender, MouseEventArgs e)
and
public void HandleMouseDown(object sender, MouseEventArgs e)
These two methods get called depending of the mouse action. Apparently, they
are events. When I look at the specs for DataGridTextBoxColumn, there are no
events by these names. There are also no methods described by these names.
Can someone explain why/how these two methods get called? How are they set
up (apparently as events) when they don't show as public events for this
DataGridTextBoxColumn class.
Thanks
I've got an app that creates a custom class and extends
DataGridTextBoxColumn. I found this out on the web somewhere. I plugged it
in my app and works fine. However, I'm perplexed on something. Within this
class it has two methods...
public void HandleMouseUp(object sender, MouseEventArgs e)
and
public void HandleMouseDown(object sender, MouseEventArgs e)
These two methods get called depending of the mouse action. Apparently, they
are events. When I look at the specs for DataGridTextBoxColumn, there are no
events by these names. There are also no methods described by these names.
Can someone explain why/how these two methods get called? How are they set
up (apparently as events) when they don't show as public events for this
DataGridTextBoxColumn class.
Thanks