Node
Node Class
Section titled “Node Class”Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Control → ContentControl → HeaderedContentControl → Node
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
Section titled “Constructors”Node()
Section titled “Node()”public Node();
Fields
Section titled “Fields”ElementInputItemsControl
Section titled “ElementInputItemsControl”protected const string ElementInputItemsControl = "PART_Input";
Field Value
ElementOutputItemsControl
Section titled “ElementOutputItemsControl”protected const string ElementOutputItemsControl = "PART_Output";
Field Value
HasFooterPropertyKey
Section titled “HasFooterPropertyKey”protected static DependencyPropertyKey HasFooterPropertyKey;
Field Value
Properties
Section titled “Properties”ContentBrush
Section titled “ContentBrush”Gets or sets the brush used for the background of the ContentControl.Content of this Node.
public Brush ContentBrush { get; set; }
Property Value
ContentContainerStyle
Section titled “ContentContainerStyle”Gets or sets the style for the content container.
public Style ContentContainerStyle { get; set; }
Property Value
Footer
Section titled “Footer”Gets or sets the data for the footer of this control.
public object Footer { get; set; }
Property Value
FooterBrush
Section titled “FooterBrush”Gets or sets the brush used for the background of the Node.Footer of this Node.
public Brush FooterBrush { get; set; }
Property Value
FooterContainerStyle
Section titled “FooterContainerStyle”Gets or sets the style for the footer container.
public Style FooterContainerStyle { get; set; }
Property Value
FooterTemplate
Section titled “FooterTemplate”Gets or sets the template used to display the content of the control’s footer.
public DataTemplate FooterTemplate { get; set; }
Property Value
HasFooter
Section titled “HasFooter”Gets a value that indicates whether the Node.Footer is .
public bool HasFooter { get; set; }
Property Value
HeaderBrush
Section titled “HeaderBrush”Gets or sets the brush used for the background of the HeaderedContentControl.Header of this Node.
public Brush HeaderBrush { get; set; }
Property Value
HeaderContainerStyle
Section titled “HeaderContainerStyle”Gets or sets the style for the header container.
public Style HeaderContainerStyle { get; set; }
Property Value
Gets or sets the data for the input Connectors of this control.
public IEnumerable Input { get; set; }
Property Value
InputConnectorTemplate
Section titled “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
InputGroupStyle
Section titled “InputGroupStyle”public ObservableCollection<GroupStyle> InputGroupStyle { get; set; }
Property Value
ObservableCollection<GroupStyle>
InputItemsControl
Section titled “InputItemsControl”protected ItemsControl InputItemsControl { get; set; }
Property Value
Output
Section titled “Output”Gets or sets the data for the output Connectors of this control.
public IEnumerable Output { get; set; }
Property Value
OutputConnectorTemplate
Section titled “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
OutputGroupStyle
Section titled “OutputGroupStyle”public ObservableCollection<GroupStyle> OutputGroupStyle { get; set; }
Property Value
ObservableCollection<GroupStyle>
OutputItemsControl
Section titled “OutputItemsControl”protected ItemsControl OutputItemsControl { get; set; }
Property Value
Methods
Section titled “Methods”OnApplyTemplate()
Section titled “OnApplyTemplate()”public override void OnApplyTemplate();