Table of Contents

Method TrySetCancelButtonExclusive

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

TrySetCancelButtonExclusive(KnownButton[])

Sets the cancel button to be exclusive among the specified known buttons.

public virtual void TrySetCancelButtonExclusive(KnownButton[] buttons)

Parameters

buttons KnownButton[]

An array of KnownButton values representing the buttons to consider for exclusivity. The method prioritizes Cancel, followed by No, and then Close.

Remarks

This method ensures that only one of the specified buttons is set as the cancel button, based on a predefined priority order.