Table of Contents

Interface IDebugHudSection

Namespace
Icy.Diagnostics
Assembly
IcyUI.dll

A reusable, self-contained fragment of an IDebugHudPanel - e.g. focused element name and hierarchy, or resource references.

public interface IDebugHudSection
Extension Methods

Properties

Name

Gets this section's display name.

string Name { get; }

Property Value

string

Methods

Build()

Builds this section's element subtree. Called once, when its panel becomes active.

UIElement Build()

Returns

UIElement

The root of this section's subtree, to be appended into its panel's own tree.

Refresh(UIElement, in DebugFrameContext)

Updates the subtree Build() returned in place - e.g. a TextBlock.Text - to reflect the current frame. Called every frame this section's panel is active.

void Refresh(UIElement built, in DebugFrameContext frame)

Parameters

built UIElement

The subtree Build() returned.

frame DebugFrameContext

The current frame's information.