Skip to content
Version 2.35.0
↓ Get the launcher

ConfirmHostElement record

Covers Content with Controller’s modal confirm while one is open (framework 2.33.0). Wrap the part of the window the dialog must lock — usually everything below your header — once. Built on LayerStackElement: the content lays out exactly as without the host.

public record ConfirmHostElement : IEquatable<HudElement>
name description
ConfirmHostElement(…) Covers Content with Controller’s modal confirm while one is open (framework 2.33.0). Wrap the part of the window the dialog must lock — usually everything below your header — once. Built on LayerStackElement: the content lays out exactly as without the host.
ConfirmLabelWidth { get; set; } Fixed label width of the confirm pill in px, shared by every request on this host — give the widest confirm label in any language, so the pill never changes size. 0 (default) = 96. (The Cancel pill is fixed by the framework for its own “Cancel” in every language.)
Content { get; set; } The window content underneath.
Controller { get; set; } The window’s confirm state.