Skip to content

Node

Namespace: Nodify

Assembly: Nodify

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlContentControlHeaderedContentControlNode

References: Connector, NodeInput, NodeOutput

Represents a control that has a list of Node.InputConnectors and a list of Node.OutputConnectors.

public class Node : HeaderedContentControl
public Node();
protected const string ElementInputItemsControl = "PART_Input";

Field Value

String

protected const string ElementOutputItemsControl = "PART_Output";

Field Value

String

protected static DependencyPropertyKey HasFooterPropertyKey;

Field Value

DependencyPropertyKey

Gets or sets the brush used for the background of the ContentControl.Content of this Node.

public Brush ContentBrush { get; set; }

Property Value

Brush

Gets or sets the style for the content container.

public Style ContentContainerStyle { get; set; }

Property Value

Style

Gets or sets the data for the footer of this control.

public object Footer { get; set; }

Property Value

Object

Gets or sets the brush used for the background of the Node.Footer of this Node.

public Brush FooterBrush { get; set; }

Property Value

Brush

Gets or sets the style for the footer container.

public Style FooterContainerStyle { get; set; }

Property Value

Style

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

public DataTemplate FooterTemplate { get; set; }

Property Value

DataTemplate

Gets a value that indicates whether the Node.Footer is .

public bool HasFooter { get; set; }

Property Value

Boolean

Gets or sets the brush used for the background of the HeaderedContentControl.Header of this Node.

public Brush HeaderBrush { get; set; }

Property Value

Brush

Gets or sets the style for the header container.

public Style HeaderContainerStyle { get; set; }

Property Value

Style

Gets or sets the data for the input Connectors of this control.

public IEnumerable Input { get; set; }

Property Value

IEnumerable

Gets or sets the template used to display the content of the control’s Node.Input connectors.

public DataTemplate InputConnectorTemplate { get; set; }

Property Value

DataTemplate

public ObservableCollection<GroupStyle> InputGroupStyle { get; set; }

Property Value

ObservableCollection<GroupStyle>

protected ItemsControl InputItemsControl { get; set; }

Property Value

ItemsControl

Gets or sets the data for the output Connectors of this control.

public IEnumerable Output { get; set; }

Property Value

IEnumerable

Gets or sets the template used to display the content of the control’s Node.Output connectors.

public DataTemplate OutputConnectorTemplate { get; set; }

Property Value

DataTemplate

public ObservableCollection<GroupStyle> OutputGroupStyle { get; set; }

Property Value

ObservableCollection<GroupStyle>

protected ItemsControl OutputItemsControl { get; set; }

Property Value

ItemsControl

public override void OnApplyTemplate();