Table of Contents

Class LinkData

Namespace
H.Controls.Diagram.Extension
Assembly
H.Controls.Diagram.Extension.dll
public abstract class LinkData : LinkDataBase, INotifyPropertyChanged, IDable, ILinkData, IData
Inheritance
LinkData
Implements
Derived
Inherited Members
Extension Methods

Properties

Stroke

[Display(Name = "连线颜色", GroupName = "常用")]
public SolidColorBrush Stroke { get; set; }

Property Value

SolidColorBrush

StrokeDashArray

[Display(Name = "线条虚线", GroupName = "样式")]
public DoubleCollection StrokeDashArray { get; set; }

Property Value

DoubleCollection

StrokeDashCap

[Display(Name = "虚线帽子", GroupName = "样式")]
public PenLineCap StrokeDashCap { get; set; }

Property Value

PenLineCap

StrokeDashOffset

[Display(Name = "虚线位移", GroupName = "样式")]
public double StrokeDashOffset { get; set; }

Property Value

double

StrokeEndLineCap

[Display(Name = "末尾帽子", GroupName = "样式")]
public PenLineCap StrokeEndLineCap { get; set; }

Property Value

PenLineCap

StrokeLineJoin

[Display(Name = "连接帽子")]
public PenLineJoin StrokeLineJoin { get; set; }

Property Value

PenLineJoin

StrokeStartLineCap

[Display(Name = "起始帽子", GroupName = "样式")]
public PenLineCap StrokeStartLineCap { get; set; }

Property Value

PenLineCap

StrokeThickness

[Range(0.1, 10)]
[Display(Name = "线条宽度", GroupName = "常用")]
public double StrokeThickness { get; set; }

Property Value

double

Methods

ApplayStyleTo(ILinkData)

public override void ApplayStyleTo(ILinkData to)

Parameters

to ILinkData