ListDialog Class |
Namespace: SampSharp.GameMode.Display
public class ListDialog : Dialog
The ListDialog type exposes the following members.
| Name | Description | |
|---|---|---|
| ListDialog |
Initializes a new instance of the Dialog class.
|
| Name | Description | |
|---|---|---|
| Button1 |
Gets or sets the text on the left button.
(Inherited from Dialog.) | |
| Button2 |
Gets or sets the text on the right button.
(Inherited from Dialog.) | |
| Caption |
Gets or sets the caption.
(Inherited from Dialog.) | |
| Info |
Gets the info displayed in the box.
(Overrides DialogInfo.) | |
| Items |
Gets the list items.
| |
| Style |
Gets or sets the style.
(Inherited from Dialog.) |
| Name | Description | |
|---|---|---|
| AddItem |
Adds the specified item to the list items.
| |
| AddItems |
Adds a collection of items to the list items.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnResponse |
Raises the Response event.
(Inherited from Dialog.) | |
| Show |
Shows the dialog box to a Player.
(Inherited from Dialog.) | |
| ShowAsync |
Shows the dialog box to a Player asynchronously.
(Inherited from Dialog.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Response |
Occurs when a player responds to a dialog by either clicking a button, pressing ENTER/ESC or double-clicking a list
item.
(Inherited from Dialog.) |