Class Port
public class Port : FlowablePart, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
- Inheritance
-
Port
- Implements
- Inherited Members
- Extension Methods
Fields
DockProperty
public static readonly DependencyProperty DockProperty
Field Value
Properties
Data
public IPortData Data { get; }
Property Value
DefaultKey
public static ComponentResourceKey DefaultKey { get; }
Property Value
Dock
public Dock Dock { get; set; }
Property Value
Id
public string Id { get; }
Property Value
ParentNode
public Node ParentNode { get; set; }
Property Value
PortType
public PortType PortType { get; set; }
Property Value
Methods
ArrangeOverride(Size)
Positions the single child element and determines the content of a ContentPresenter object.
protected override Size ArrangeOverride(Size arrangeSize)
Parameters
arrangeSize
SizeThe size that this ContentPresenter object should use to arrange its child element.
Returns
- Size
The actual size needed by the element.
ChangedPoint(Point, double)
public Point ChangedPoint(Point point, double span = 50)
Parameters
Returns
Clear()
清理逻辑关系
public override void Clear()
Create(Node)
public static Port Create(Node parent)
Parameters
parent
Node
Returns
Delete()
删除图层上的元素
public override void Delete()
GetConnectLinks()
public IEnumerable<Link> GetConnectLinks()
Returns
GetLinkInto()
public IEnumerable<Link> GetLinkInto()
Returns
GetLinksOutOf()
public IEnumerable<Link> GetLinksOutOf()
Returns
GetNext()
public override Part GetNext()
Returns
GetPrevious()
public override Part GetPrevious()
Returns
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
protected override void OnRender(DrawingContext drawingContext)
Parameters
drawingContext
DrawingContextThe drawing instructions for a specific element. This context is provided to the layout system.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.