File: System\Windows\Markup\IStyleConnector.cs
Web Access
Project: src\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.
// See the LICENSE file in the project root for more information.
 
//
// Description:
//   Provides methods used internally by the StyleBamlReader
//
using System;
using System.Windows;
 
namespace System.Windows.Markup
{
    /// <summary>
    /// Provides methods used internally by the StyleBamlReader
    /// on compiled content.
    /// </summary>
    public interface IStyleConnector
    {
        /// <summary>
        /// Called by the StyleBamlReader to attach events on EventSetters and
        /// Templates in compiled content.
        /// </summary>
        void Connect(int connectionId, object target);
    }
}