7.1 KiB
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
Node()
public Node();
Fields
ElementInputItemsControl
protected const string ElementInputItemsControl = "PART_Input";
Field Value
ElementOutputItemsControl
protected const string ElementOutputItemsControl = "PART_Output";
Field Value
HasFooterPropertyKey
protected static DependencyPropertyKey HasFooterPropertyKey;
Field Value
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
ContentContainerStyle
Gets or sets the style for the content container.
public Style ContentContainerStyle { get; set; }
Property Value
Footer
Gets or sets the data for the footer of this control.
public object Footer { get; set; }
Property Value
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
Gets or sets the style for the footer container.
public Style FooterContainerStyle { get; set; }
Property Value
FooterTemplate
Gets or sets the template used to display the content of the control's footer.
public DataTemplate FooterTemplate { get; set; }
Property Value
HasFooter
Gets a value that indicates whether the Node.Footer is .
public bool HasFooter { get; set; }
Property Value
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
Gets or sets the style for the header container.
public Style HeaderContainerStyle { get; set; }
Property Value
Input
Gets or sets the data for the input Connectors of this control.
public IEnumerable Input { get; set; }
Property Value
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
public ObservableCollection<GroupStyle> InputGroupStyle { get; set; }
Property Value
ObservableCollection<GroupStyle>
InputItemsControl
protected ItemsControl InputItemsControl { get; set; }
Property Value
Output
Gets or sets the data for the output Connectors of this control.
public IEnumerable Output { get; set; }
Property Value
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
public ObservableCollection<GroupStyle> OutputGroupStyle { get; set; }
Property Value
ObservableCollection<GroupStyle>
OutputItemsControl
protected ItemsControl OutputItemsControl { get; set; }
Property Value
Methods
OnApplyTemplate()
public override void OnApplyTemplate();