1 //----------------------------------------------------------------
2 // <copyright company="Microsoft Corporation">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //----------------------------------------------------------------
7 namespace System.Activities.Presentation.View.OutlineView
12 /// Shows the property and its value in outline view.
14 [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
15 public sealed class ShowPropertyInOutlineViewAttribute : Attribute
18 /// Initialize the instance of ShowPropertyInOutlineViewAttribute.
20 public ShowPropertyInOutlineViewAttribute()
22 this.CurrentPropertyVisible = true;
23 this.DuplicatedChildNodesVisible = true;
27 /// Gets or sets a value indicating whether the property should be visible in outline view.
29 public bool CurrentPropertyVisible { get; set; }
32 /// Gets or sets a value indicating whether to skip child nodes that are visible elsewhere in the outline view
34 public bool DuplicatedChildNodesVisible { get; set; }
37 /// Gets or sets a value indicating whether to display a perfix of child node.
39 public string ChildNodePrefix { get; set; }