IStyleConnector 接口

定义

提供 WPF XAML 分析器在内部用于在已编译的 XAML 中附加事件和事件 setter 的方法。Provides methods used internally by the WPF XAML parser to attach events and event setters in compiled XAML.

public interface class IStyleConnector
public interface IStyleConnector
type IStyleConnector = interface
Public Interface IStyleConnector
派生

注解

IStyleConnector类不应由 WPF XAML 标记编译器之外的任何对象使用。The IStyleConnector class is not intended for use by anything other than the WPF XAML markup compiler. 它是由生成的代码引用的, 该代码对涉及模板或类似工厂模型的标记执行事件布线。It is referenced by generated code that does event wiring for markup that involves templates or a similar factory model.

方法

Connect(Int32, Object)

在已编译的内容中附加事件 setter 上的事件以及模板。Attaches events on event setters and templates in compiled content.

适用于