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
elementUIElementThe element to get the attached value for.
Returns
SetVisualization(UIElement, string?)
Sets the Debug.Visualization override for element.
public static void SetVisualization(UIElement element, string? value)