Class OutputDisplayNodeRenderer
- Namespace
- FlowGraph.Avalonia.Rendering.NodeRenderers
- Assembly
- FlowGraph.Avalonia.dll
Renders an output display node using the white headered base with large content area.
public class OutputDisplayNodeRenderer : WhiteHeaderedNodeRendererBase, IEditableNodeRenderer, IDataNodeRenderer, INodeRenderer
- Inheritance
-
OutputDisplayNodeRenderer
- Implements
- Inherited Members
Properties
ContentVerticalPadding
Vertical padding for content inside the body.
protected override double ContentVerticalPadding { get; }
Property Value
Methods
CreateContent(Node, INodeProcessor?, NodeRenderContext)
Creates the content area control(s).
protected override Control CreateContent(Node node, INodeProcessor? processor, NodeRenderContext context)
Parameters
nodeNodeprocessorINodeProcessorcontextNodeRenderContext
Returns
- Control
GetDefaultLabel()
Gets the default label to display when the node has no label set.
protected override string GetDefaultLabel()
Returns
GetHeight(Node, FlowCanvasSettings)
Gets the default height of the node in canvas units (before scaling). Return null to use the default height from settings.
public override double? GetHeight(Node node, FlowCanvasSettings settings)
Parameters
nodeNodesettingsFlowCanvasSettings
Returns
GetWidth(Node, FlowCanvasSettings)
Gets the default width of the node in canvas units (before scaling). Return null to use the default width from settings.
public override double? GetWidth(Node node, FlowCanvasSettings settings)
Parameters
nodeNodesettingsFlowCanvasSettings
Returns
UpdateFromPortValues(Control, INodeProcessor)
Updates the visual when port values change. Called when connected input values change.
public override void UpdateFromPortValues(Control visual, INodeProcessor processor)
Parameters
visualControlThe node's visual control.
processorINodeProcessorThe node's processor.