[reflection] Coop handles icalls in System.Reflection and System.RuntimeTypeHandle...
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / View / OutlineView / ShowPropertyInOutlineViewAttribute.cs
1 //----------------------------------------------------------------
2 // <copyright company="Microsoft Corporation">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //----------------------------------------------------------------
6
7 namespace System.Activities.Presentation.View.OutlineView
8 {
9     using System;
10
11     /// <summary>
12     /// Shows the property and its value in outline view.
13     /// </summary>
14     [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
15     public sealed class ShowPropertyInOutlineViewAttribute : Attribute
16     {
17         /// <summary>
18         /// Initialize the instance of ShowPropertyInOutlineViewAttribute.
19         /// </summary>
20         public ShowPropertyInOutlineViewAttribute()          
21         {
22             this.CurrentPropertyVisible = true;
23             this.DuplicatedChildNodesVisible = true;
24         }
25
26         /// <summary>
27         /// Gets or sets a value indicating whether the property should be visible in outline view.
28         /// </summary>        
29         public bool CurrentPropertyVisible { get; set; }
30         
31         /// <summary>
32         /// Gets or sets a value indicating whether to skip child nodes that are visible elsewhere in the outline view
33         /// </summary>
34         public bool DuplicatedChildNodesVisible { get; set; }
35
36         /// <summary>
37         /// Gets or sets a value indicating whether to display a perfix of child node.
38         /// </summary>
39         public string ChildNodePrefix { get; set; }
40     }
41 }