Click or drag to resize

ListDialog Class

Represnets a list dialog.
Inheritance Hierarchy

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class ListDialog : Dialog

The ListDialog type exposes the following members.

Constructors
  NameDescription
Public methodListDialog
Initializes a new instance of the Dialog class.
Top
Properties
  NameDescription
Public propertyButton1
Gets or sets the text on the left button.
(Inherited from Dialog.)
Public propertyButton2
Gets or sets the text on the right button.
(Inherited from Dialog.)
Public propertyCaption
Gets or sets the caption.
(Inherited from Dialog.)
Protected propertyInfo
Gets the info displayed in the box.
(Overrides DialogInfo.)
Public propertyItems
Gets the list items.
Public propertyStyle
Gets or sets the style.
(Inherited from Dialog.)
Top
Methods
  NameDescription
Public methodAddItem
Adds the specified item to the list items.
Public methodAddItems
Adds a collection of items to the list items.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnResponse
Raises the Response event.
(Inherited from Dialog.)
Public methodShow
Shows the dialog box to a Player.
(Inherited from Dialog.)
Public methodShowAsync
Shows the dialog box to a Player asynchronously.
(Inherited from Dialog.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventResponse
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.)
Top
See Also