Method OnButtonClicked
OnButtonClicked(KnownButton?)
Invoked when a button is clicked.
protected virtual void OnButtonClicked(KnownButton? button)
Parameters
buttonKnownButton?The button that was clicked, or null if no specific button is associated with the event.
Remarks
This method is called to handle button click events. Override this method in a derived class to provide custom handling for button clicks.