|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Windows
{
/// <summary>
/// Define an expected VisualState in the contract between a Control and its
/// ControlTemplate for use with the VisualStateManager.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class TemplateVisualStateAttribute : Attribute
{
/// <summary>
/// Name of the VisualState.
/// </summary>
public string Name
{
get;
set;
}
/// <summary>
/// Name of the VisualStateGroup containing this state.
/// </summary>
public string GroupName
{
get;
set;
}
}
}
|