Table of Contents

Class Debug

Namespace
Icy.Diagnostics
Assembly
IcyUI.dll

The Debug.Visualization attached property: a per-element override of which debug overlays (IDebugOverlay) apply to one element, independent of its ActiveDebugTools.

[AttachedProperty("GetVisualization", "SetVisualization", PropertyName = "Visualization")]
public static class Debug
Inheritance
Debug
Inherited Members

Remarks

null (unset, the default) inherits the owning ActiveDebugTools selection; an empty string forces none, excluding one noisy element from an otherwise canvas-wide selection; a comma-separated list of overlay names (e.g. "Bounds,Focus") forces exactly those, even while nothing is active canvas-wide - the "drill into one element" workflow.

Methods

GetVisualization(UIElement)

Gets the Debug.Visualization override for element.

public static string? GetVisualization(UIElement element)

Parameters

element UIElement

The element to get the attached value for.

Returns

string

The override, or null if none was set.

SetVisualization(UIElement, string?)

Sets the Debug.Visualization override for element.

public static void SetVisualization(UIElement element, string? value)

Parameters

element UIElement

The element to set the attached value for.

value string

The override to assign - see this type's remarks for what each value means.