Skip to content

StateNode

Namespace: Nodify

Assembly: Nodify

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlConnectorStateNode

References: PendingConnection

Represents a control that acts as a Connector.

public class StateNode : Connector
public StateNode();
protected const string ElementContent = "PART_Content";

Field Value

String

Gets or sets the data for the control’s content.

public object Content { get; set; }

Property Value

Object

Gets the StateNode.ContentControl control of this StateNode.

protected UIElement ContentControl { get; set; }

Property Value

UIElement

Gets or sets the template used to display the content of the control’s header.

public DataTemplate ContentTemplate { get; set; }

Property Value

DataTemplate

Gets or sets a value that represents the degree to which the corners of the StateNode are rounded.

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

Gets or sets the brush used when the PendingConnection.IsOverElementProperty attached property is true for this StateNode.

public Brush HighlightBrush { get; set; }

Property Value

Brush

public override void OnApplyTemplate();
protected override void OnMouseDown(MouseButtonEventArgs e);

Parameters

e MouseButtonEventArgs

protected override void OnMouseUp(MouseButtonEventArgs e);

Parameters

e MouseButtonEventArgs