зеркало из https://github.com/telerik/xaml-sdk.git
93ce43d48e | ||
---|---|---|
.. | ||
Properties | ||
App.config | ||
App.xaml | ||
App.xaml.cs | ||
App_SL.xaml | ||
App_SL.xaml.cs | ||
CustomConnection.cs | ||
CustomConnectionCaps_SL.csproj | ||
CustomConnectionCaps_WPF.csproj | ||
Example.xaml | ||
Example.xaml.cs | ||
MainPage.xaml | ||
MainPage.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
Readme.md |
Readme.md
##Custom Connection Caps## The CustomConnectionCaps SDK sample demonstrates a possible way to create custom Connection Caps. Sometimes you may need custom geometry for the connection caps. In such case you can inherit the RadDiagramConnection class and override the CreateSourceCapGeometry and CreateTargetCapGeometry methods.
The approach is also described in the following help article:
http://docs.telerik.com/devtools/wpf/controls/raddiagram/howto/create-custom-connectioncap
<keywords:geometry, pathfigure>