StateNode
StateNode Class
Section titled “StateNode Class”Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Control → Connector → StateNode
References: PendingConnection
Represents a control that acts as a Connector.
public class StateNode : Connector
Constructors
Section titled “Constructors”StateNode()
Section titled “StateNode()”public StateNode();
Fields
Section titled “Fields”ElementContent
Section titled “ElementContent”protected const string ElementContent = "PART_Content";
Field Value
Properties
Section titled “Properties”Content
Section titled “Content”Gets or sets the data for the control’s content.
public object Content { get; set; }
Property Value
ContentControl
Section titled “ContentControl”Gets the StateNode.ContentControl control of this StateNode.
protected UIElement ContentControl { get; set; }
Property Value
ContentTemplate
Section titled “ContentTemplate”Gets or sets the template used to display the content of the control’s header.
public DataTemplate ContentTemplate { get; set; }
Property Value
CornerRadius
Section titled “CornerRadius”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
HighlightBrush
Section titled “HighlightBrush”Gets or sets the brush used when the PendingConnection.IsOverElementProperty attached property is true for this StateNode.
public Brush HighlightBrush { get; set; }
Property Value
Methods
Section titled “Methods”OnApplyTemplate()
Section titled “OnApplyTemplate()”public override void OnApplyTemplate();
OnMouseDown(MouseButtonEventArgs)
Section titled “OnMouseDown(MouseButtonEventArgs)”protected override void OnMouseDown(MouseButtonEventArgs e);
Parameters
OnMouseUp(MouseButtonEventArgs)
Section titled “OnMouseUp(MouseButtonEventArgs)”protected override void OnMouseUp(MouseButtonEventArgs e);
Parameters