Derive OnItemCreated

S

SK

Hello,

i have created my own datagrid control derived from the
datagrid control. Now I would like to override the
OnItemCreated method. But I dont get how I can do that.
Can somebody help me out?

Thanks
 
I

intrader

Hello,

i have created my own datagrid control derived from the
datagrid control. Now I would like to override the
OnItemCreated method. But I dont get how I can do that.
Can somebody help me out?

Thanks
When methods allow override, you use the override keyword along with
your method signature.

Normally the user of the datagrid would write something like

void myHandler(Object sender, yourGridEventArgs e)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,888
Messages
2,569,967
Members
46,297
Latest member
johnsariin

Latest Threads

Top