Files
APIVisualExecutor/docs/localization/zh-CN/连接器概述.md
Ankitkumar Satapara 21aaef6776 Add project files.
2026-04-17 22:31:58 +05:30

10 lines
795 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
连接器通过引发`PendingConnectionStartedEvent`事件来创建预备连接。连接器具有一个**必须**绑定的`Anchor`依赖属性,以便在节点位置更改时实时更新它们之间的连接。`IsConnected`依赖属性**必须**设置为true以接收`Anchor`更新。
按住`ALT`并点击连接器会触发`DisconnectCommand`
## NodeInput 和 NodeOutput
NodeInput和NodeOutput是带有`Header``Connector`的实现,可以通过自定义`HeaderTemplate`来显示文本或输入框。它们还公开了一个`ConnectorTemplate`来自定义连接器本身。通常,它们与`Node.InputConnectorTemplate``Node.OutputConnectorTemplate`一起使用。
![image](https://user-images.githubusercontent.com/12727904/192117525-a7e1b309-70d6-4ed7-bcd7-8210dbd680ce.png)