| File: System\Windows\TemplateVisualStateAttribute.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\PresentationFramework.csproj (PresentationFramework) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. 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; } } }