Skip to content

IChildLayoutProvider

Namespace: Hex1b.Nodes

Assembly: Hex1b.dll

Interface for nodes that provide layout/clipping context for their children.

csharp
public interface IChildLayoutProvider

Methods

GetChildLayoutProvider(Hex1bNode)

Gets the layout provider to use when rendering a specific child.

Parameters:

  • child (Hex1bNode): The child node being rendered.

Returns: ILayoutProvider

The layout provider to use for this child, or null if no special layout provider is needed.

csharp
ILayoutProvider? GetChildLayoutProvider(Hex1bNode child)

Remarks

This is used during partial re-renders when traverses to dirty children without fully rendering the parent node. Nodes that have child panes with their own clipping regions (like ) implement this interface to ensure proper clipping during traversal.

Released under the MIT License.