Click here to Skip to main content
15,896,912 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Message: The name already exists in the tree: Pin
Abhinav S7-Apr-11 18:14
Abhinav S7-Apr-11 18:14 
GeneralRe: Message: The name already exists in the tree: [modified] Pin
Vimalsoft(Pty) Ltd7-Apr-11 18:48
professionalVimalsoft(Pty) Ltd7-Apr-11 18:48 
GeneralRe: Message: The name already exists in the tree: Pin
Pete O'Hanlon7-Apr-11 22:15
mvePete O'Hanlon7-Apr-11 22:15 
GeneralRe: Message: The name already exists in the tree: Pin
Vimalsoft(Pty) Ltd8-Apr-11 1:13
professionalVimalsoft(Pty) Ltd8-Apr-11 1:13 
GeneralRe: Message: The name already exists in the tree: Pin
Abhinav S8-Apr-11 8:20
Abhinav S8-Apr-11 8:20 
GeneralRe: Message: The name already exists in the tree: Pin
Vimalsoft(Pty) Ltd8-Apr-11 10:12
professionalVimalsoft(Pty) Ltd8-Apr-11 10:12 
QuestionLogical vs Visual Tree Pin
devvvy6-Apr-11 21:45
devvvy6-Apr-11 21:45 
AnswerRe: Logical vs Visual Tree Pin
Pete O'Hanlon6-Apr-11 22:06
mvePete O'Hanlon6-Apr-11 22:06 
You're missing quite a lot. While it may have been possible to combine the two types of trees, the resulting kludge would have been quite horrible.

Something that most people don't realise is that, while there is only one visual tree in a WPF application, there can be many logical trees. This is down to the purpose that they serve, and also covers the fact that the visual tree can only work with elements derived from Visual or Visual3D (hence it's name) while the logical tree can contain any type of object (and is one of the reasons that LogicalTreeHelper is not the most optimal way of walking the logical tree because it only walks DependencyObject elements. Without logical trees, it would be impossible for WPF/Silverlight to be able to use templates, for instance.

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


GeneralRe: Logical vs Visual Tree Pin
devvvy6-Apr-11 22:25
devvvy6-Apr-11 22:25 
GeneralRe: Logical vs Visual Tree Pin
Pete O'Hanlon6-Apr-11 22:28
mvePete O'Hanlon6-Apr-11 22:28 
AnswerRe: Logical vs Visual Tree Pin
Pete O'Hanlon6-Apr-11 23:37
mvePete O'Hanlon6-Apr-11 23:37 
GeneralRe: Logical vs Visual Tree Pin
devvvy7-Apr-11 2:05
devvvy7-Apr-11 2:05 
GeneralRe: Logical vs Visual Tree Pin
devvvy7-Apr-11 15:25
devvvy7-Apr-11 15:25 
GeneralRe: Logical vs Visual Tree Pin
devvvy11-Apr-11 17:38
devvvy11-Apr-11 17:38 
GeneralRe: Logical vs Visual Tree Pin
devvvy13-Apr-11 18:22
devvvy13-Apr-11 18:22 
QuestionChange main region layout in runtime Pin
rafagamerorodriguez6-Apr-11 6:08
rafagamerorodriguez6-Apr-11 6:08 
AnswerRe: Change main region layout in runtime Pin
Ian Shlasko6-Apr-11 6:26
Ian Shlasko6-Apr-11 6:26 
AnswerRe: Change main region layout in runtime Pin
Abhinav S6-Apr-11 19:04
Abhinav S6-Apr-11 19:04 
GeneralRe: Change main region layout in runtime Pin
rafagamerorodriguez7-Apr-11 4:44
rafagamerorodriguez7-Apr-11 4:44 
GeneralRe: Change main region layout in runtime Pin
Abhinav S7-Apr-11 6:03
Abhinav S7-Apr-11 6:03 
QuestionExcel Import and Export Pin
Joe Rozario6-Apr-11 4:06
Joe Rozario6-Apr-11 4:06 
AnswerRe: Excel Import and Export Pin
Abhinav S7-Apr-11 18:21
Abhinav S7-Apr-11 18:21 
QuestionHelp Silverlight Datagrid Pin
ninou21556-Apr-11 2:59
ninou21556-Apr-11 2:59 
AnswerRe: Help Silverlight Datagrid Pin
Abhinav S6-Apr-11 3:16
Abhinav S6-Apr-11 3:16 
AnswerRe: Help Silverlight Datagrid Pin
ankitjoshi246-Apr-11 4:18
ankitjoshi246-Apr-11 4:18 

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.