Click here to Skip to main content
15,904,503 members
Home / Discussions / C#
   

C#

 
GeneralRe: document Pin
Heath Stewart23-Apr-04 3:45
protectorHeath Stewart23-Apr-04 3:45 
GeneralRe: document Pin
cmarmr26-Apr-04 11:01
cmarmr26-Apr-04 11:01 
GeneralSetup & deployment Project - Desktop shortcut - unable to edit target property Pin
Ruchi Gupta22-Apr-04 5:33
Ruchi Gupta22-Apr-04 5:33 
GeneralRe: Setup & deployment Project - Desktop shortcut - unable to edit target property Pin
Heath Stewart22-Apr-04 7:31
protectorHeath Stewart22-Apr-04 7:31 
GeneralRe: Setup & Deployment project - "All User" installation Pin
Heath Stewart22-Apr-04 4:57
protectorHeath Stewart22-Apr-04 4:57 
GeneralRe: Setup & Deployment project - "All User" installation Pin
Ruchi Gupta22-Apr-04 5:20
Ruchi Gupta22-Apr-04 5:20 
GeneralMulti images in each row in a listbox Pin
thomasa22-Apr-04 4:38
thomasa22-Apr-04 4:38 
GeneralRe: Multi images in each row in a listbox Pin
patnsnaudy22-Apr-04 4:52
patnsnaudy22-Apr-04 4:52 
GeneralInserting html code on a textbox control Pin
devgeez22-Apr-04 4:36
devgeez22-Apr-04 4:36 
GeneralRe: Inserting html code on a textbox control Pin
devgeez22-Apr-04 5:05
devgeez22-Apr-04 5:05 
GeneralRe: Inserting html code on a textbox control Pin
Heath Stewart22-Apr-04 5:09
protectorHeath Stewart22-Apr-04 5:09 
GeneralRe: Inserting html code on a textbox control Pin
Heath Stewart22-Apr-04 5:09
protectorHeath Stewart22-Apr-04 5:09 
GeneralLoading in old MFC Serialized files Pin
Simon Wren22-Apr-04 4:07
professionalSimon Wren22-Apr-04 4:07 
GeneralRe: Loading in old MFC Serialized files Pin
Heath Stewart22-Apr-04 4:10
protectorHeath Stewart22-Apr-04 4:10 
GeneralRe: Loading in old MFC Serialized files Pin
Simon Wren22-Apr-04 4:18
professionalSimon Wren22-Apr-04 4:18 
GeneralRe: Loading in old MFC Serialized files Pin
Heath Stewart22-Apr-04 4:28
protectorHeath Stewart22-Apr-04 4:28 
GeneralRe: Loading in old MFC Serialized files Pin
Simon Wren22-Apr-04 4:38
professionalSimon Wren22-Apr-04 4:38 
Generals Text Property in a TreeNode Pin
Bill Dean22-Apr-04 3:56
Bill Dean22-Apr-04 3:56 
GeneralRe: s Text Property in a TreeNode Pin
Judah Gabriel Himango22-Apr-04 4:03
sponsorJudah Gabriel Himango22-Apr-04 4:03 
GeneralRe: s Text Property in a TreeNode Pin
Bill Dean22-Apr-04 4:10
Bill Dean22-Apr-04 4:10 
GeneralRe: s Text Property in a TreeNode Pin
Heath Stewart22-Apr-04 4:14
protectorHeath Stewart22-Apr-04 4:14 
GeneralRe: s Text Property in a TreeNode Pin
Bill Dean22-Apr-04 4:24
Bill Dean22-Apr-04 4:24 
GeneralRe: s Text Property in a TreeNode Pin
Heath Stewart22-Apr-04 4:30
protectorHeath Stewart22-Apr-04 4:30 
Then using events would be the logical way to go.

The reason the get accessor is not called is because the TreeView uses the TreeNode type. Its Text property is not virtual so the IL instruction call is used, as opposed to callvirt. Even if you hide it using the new operator, this will not work because the TreeView is using call on the actual TreeNode type. If you were to get the Text property referencing your type (DerivedNode), then your get accessor would be called.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: s Text Property in a TreeNode Pin
Bill Dean22-Apr-04 4:41
Bill Dean22-Apr-04 4:41 
GeneralCircular Buffer Technique question Pin
TimTM22-Apr-04 3:45
TimTM22-Apr-04 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.