2009-08-26 Chris Toshok <toshok@ximian.com>
[moon.git] / class / WPF.Toolkit / VSM / System / Windows / TemplateVisualStateAttribute.cs
blob53f3f0888cc02cbf280cdd6f0f618b811dc020b8
1 // -------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All Rights Reserved.
3 // -------------------------------------------------------------------
5 using System;
7 namespace System.Windows
9 /// <summary>
10 /// Define an expected VisualState in the contract between a Control and its
11 /// ControlTemplate for use with the VisualStateManager.
12 /// </summary>
13 [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
14 public sealed class TemplateVisualStateAttribute : Attribute
16 /// <summary>
17 /// Name of the VisualState.
18 /// </summary>
19 public string Name
21 get;
22 set;
25 /// <summary>
26 /// Name of the VisualStateGroup containing this state.
27 /// </summary>
28 public string GroupName
30 get;
31 set;