[reflection] Coop handles icalls in System.Reflection and System.RuntimeTypeHandle...
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / ActivityDesignerOptionsAttribute.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4
5 namespace System.Activities.Presentation
6 {
7     using System.Activities.Presentation.Model;
8     using System.Runtime;
9     using System.Windows;
10     using System.Windows.Media;
11
12     [Fx.Tag.XamlVisible(false)]
13     [AttributeUsage(AttributeTargets.Property | AttributeTargets.Class)]
14     public sealed class ActivityDesignerOptionsAttribute : Attribute
15     {
16         public ActivityDesignerOptionsAttribute()
17         {
18             this.AllowDrillIn = true;
19             this.AlwaysCollapseChildren = false;
20         }
21
22         public bool AllowDrillIn
23         {
24             get;
25             set;
26         }
27
28         public bool AlwaysCollapseChildren
29         {
30             get;
31             set;
32         }
33
34         public Func<ModelItem, DrawingBrush> OutlineViewIconProvider
35         {
36             get;
37             set;
38         }
39     }
40 }