1 //------------------------------------------------------------------------------
2 // <copyright file="FlowSwitchLabelFeature.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6 
7 namespace System.Activities.Core.Presentation
8 {
9     using System.Activities.Presentation;
10     using System.Activities.Presentation.Model;
11     using System.Collections.Generic;
12 
13     internal class FlowSwitchLabelFeature : ViewStateAttachedPropertyFeature
14     {
15         public const string DefaultCaseDisplayNamePropertyName = "DefaultCaseDisplayName";
16         public const string DefaultCaseDisplayNameDefaultValue = "Default";
17 
18         protected override IEnumerable<AttachedPropertyInfo> AttachedProperties
19         {
20             get
21             {
22                 yield return new AttachedPropertyInfo<string> { PropertyName = DefaultCaseDisplayNamePropertyName, IsBrowsable = false, IsVisibleToModelItem = true, DefaultValue = DefaultCaseDisplayNameDefaultValue };
23             }
24         }
25     }
26 }
27