|
|
|
@ -194,6 +194,21 @@ namespace ICSharpCode.WpfDesign.Designer.OutlineView
@@ -194,6 +194,21 @@ namespace ICSharpCode.WpfDesign.Designer.OutlineView
|
|
|
|
|
var node = OutlineNode.Create(item); |
|
|
|
|
Children.Add(node); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
var content = item.ContentProperty; |
|
|
|
|
if (content != null) |
|
|
|
|
{ |
|
|
|
|
if (content.IsCollection) { |
|
|
|
|
UpdateChildrenCore(content.CollectionElements); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
if (content.Value != null) { |
|
|
|
|
UpdateChildrenCore(new[] { content.Value }); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|