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;
14 /// Interaction logic for WhileDesigner.xaml
16 partial class WhileDesigner
18 public WhileDesigner()
20 InitializeComponent();
23 public static void RegisterMetadata(AttributeTableBuilder builder)
25 Type type = typeof(While);
26 builder.AddCustomAttributes(type, new DesignerAttribute(typeof(WhileDesigner)));
27 builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No);
28 builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
30 builder.AddCustomAttributes(type, type.GetProperty("Condition"), new HidePropertyInOutlineViewAttribute());