Show / Hide Table of Contents

Method dialog.SetButtons


Overload

Sets common and/or custom buttons and custom buttons style.

public void SetButtons(Strings buttons, bool asCommandLinks = false, Strings customButtons = default)
Parameters
buttons  (Strings)

Common and/or custom buttons, like with dialog.show. These ids should be negative if you use customButtons too, because ids of customButtons are 1, 2, ... .

asCommandLinks  (bool)

Custom buttons style. If false - row of classic buttons. If true - column of command-link buttons that can have multiline text.

customButtons  (Strings)

Additional custom buttons. All will be custom, even if named "OK" etc. List of labels without ids. Can be string like "One|Two|..." or string[] or List<string>. Button ids will be 1, 2, ... . dialog.DefaultButton will be 1. You can change it later.