Method TrySetCancelButtonExclusive
TrySetCancelButtonExclusive(KnownButton[])
Sets the cancel button to be exclusive among the specified known buttons.
public virtual void TrySetCancelButtonExclusive(KnownButton[] buttons)
Parameters
buttonsKnownButton[]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.