1 //------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //------------------------------------------------------------
5 namespace System.Activities.Core.Presentation
7 using System.Activities.Presentation.Metadata;
8 using System.Activities.Presentation.View;
9 using System.Activities.Presentation.View.OutlineView;
10 using System.Activities.Statements;
11 using System.ComponentModel;
16 partial class ParallelDesigner
18 public ParallelDesigner()
20 InitializeComponent();
23 public static void RegisterMetadata(AttributeTableBuilder builder)
25 Type type = typeof(Parallel);
26 builder.AddCustomAttributes(type, new DesignerAttribute(typeof(ParallelDesigner)));
27 builder.AddCustomAttributes(type, type.GetProperty("Branches"), BrowsableAttribute.No);
28 builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
30 builder.AddCustomAttributes(type, type.GetProperty("Branches"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false });
31 builder.AddCustomAttributes(type, type.GetProperty("CompletionCondition"), new HidePropertyInOutlineViewAttribute());