reckfellENGINE

ConfirmationDialog

Confirmation dialog with standard OK and Cancel buttons.

On this page
class ConfirmationDialogReckfellSharpInherits AcceptDialog

Inherits AcceptDialog and adds a standard cancel button. Connect Confirmed to accepting the action and Canceled to handling refusal. The window does not itself delete files, save data or roll changes back.

Set DialogText, OkButtonText and CancelButtonText, then open PopupCentered. For operations requiring validation/waiting, set DialogHideOnOk = false, block repeated confirmation through GetOkButton().Disabled and hide after successful completion.

GetCancelButton returns the existing shared button. CancelButtonText directly changes its Text: an empty string keeps an empty caption, unlike OkButtonText where empty restores default OK. Do not remove/free built-in buttons; configure their properties. Platform policy determines OK/Cancel order, so do not access them by child index.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

ConfirmationDialogConstructor
# ConfirmationDialog
C#
public ConfirmationDialog();

Creates a hidden AcceptDialog with standard Cancel and minimum size (200, 70), which content can increase. Inherits closing policy/signals.

Properties1

CancelButtonTextProperty
# CancelButtonText
C#
public string CancelButtonText { get; set; }

Standard Cancel caption. Directly sets button Text; empty remains empty rather than restoring the default. Does not change cancellation behavior.

Methods3

GetCancelButtonButton
# GetCancelButton
C#
public Button GetCancelButton();

Shared standard cancellation Button. Do not remove/free it; use CancelButtonText or button properties.

Returns Button

Shared standard Cancel Button.

GetCancelButtonTextstring
# GetCancelButtonText
C#
public string GetCancelButtonText();

Standard Cancel caption. Directly sets button Text; empty remains empty rather than restoring the default. Does not change cancellation behavior.

Returns string

Current standard Cancel Text.

SetCancelButtonTextvoid
# SetCancelButtonText
C#
public void SetCancelButtonText(string text);

Standard Cancel caption. Directly sets button Text; empty remains empty rather than restoring the default. Does not change cancellation behavior.

Parameters
NameTypeDefault
textstring—
text

Standard Cancel caption. Directly sets button Text; empty remains empty rather than restoring the default. Does not change cancellation behavior.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.