Skip to content
miroiu edited this page Dec 23, 2024 · 1 revision

Node Class

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  

Constructors

Node()

public Node();  

Fields

ElementInputItemsControl

protected const string ElementInputItemsControl = "PART_Input";  

Field Value

String

ElementOutputItemsControl

protected const string ElementOutputItemsControl = "PART_Output";  

Field Value

String

HasFooterPropertyKey

protected static DependencyPropertyKey HasFooterPropertyKey;  

Field Value

DependencyPropertyKey

Properties

ContentBrush

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

public Brush ContentBrush { get; set; }  

Property Value

Brush

ContentContainerStyle

Gets or sets the style for the content container.

public Style ContentContainerStyle { get; set; }  

Property Value

Style

Footer

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

public object Footer { get; set; }  

Property Value

Object

FooterBrush

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

public Brush FooterBrush { get; set; }  

Property Value

Brush

FooterContainerStyle

Gets or sets the style for the footer container.

public Style FooterContainerStyle { get; set; }  

Property Value

Style

FooterTemplate

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

public DataTemplate FooterTemplate { get; set; }  

Property Value

DataTemplate

HasFooter

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

public bool HasFooter { get; set; }  

Property Value

Boolean

HeaderBrush

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

public Brush HeaderBrush { get; set; }  

Property Value

Brush

HeaderContainerStyle

Gets or sets the style for the header container.

public Style HeaderContainerStyle { get; set; }  

Property Value

Style

Input

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

public IEnumerable Input { get; set; }  

Property Value

IEnumerable

InputConnectorTemplate

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

InputGroupStyle

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

Property Value

ObservableCollection<GroupStyle>

InputItemsControl

protected ItemsControl InputItemsControl { get; set; }  

Property Value

ItemsControl

Output

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

public IEnumerable Output { get; set; }  

Property Value

IEnumerable

OutputConnectorTemplate

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

OutputGroupStyle

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

Property Value

ObservableCollection<GroupStyle>

OutputItemsControl

protected ItemsControl OutputItemsControl { get; set; }  

Property Value

ItemsControl

Methods

OnApplyTemplate()

public override void OnApplyTemplate();  
Clone this wiki locally