mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-15 05:36:35 +08:00
把底层再分割一下
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
|
||||
namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
public static class ConnectorStyleProps
|
||||
{
|
||||
public static readonly DependencyProperty StyleProperty =
|
||||
DependencyProperty.RegisterAttached("Style", typeof(Style), typeof(ConnectorStyleProps),
|
||||
new FrameworkPropertyMetadata(default(Style)));
|
||||
|
||||
public static Style GetStyle(DependencyObject d)
|
||||
{
|
||||
return (Style)d.GetValue(StyleProperty);
|
||||
}
|
||||
|
||||
public static void SetStyle(DependencyObject d, Style value)
|
||||
{
|
||||
d.SetValue(StyleProperty, value);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user