Click or drag to resize

ListDialogT Class

Represents a list dialog.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.DisplayDialog
    SampSharp.GameMode.DisplayListDialogT

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public class ListDialog<T> : Dialog

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:SampSharp.GameMode.Display.ListDialog`1"]

The ListDialogT type exposes the following members.

Constructors
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 (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnResponse(DialogResponseEventArgs)
Raises the Response event.
(Overrides DialogOnResponse(DialogResponseEventArgs).)
Protected methodOnResponse(DialogResponseEventArgsT)
Raises the Response event.
Public methodShow
Shows the dialog box to a Player.
(Inherited from Dialog.)
Public methodShowAsync
Shows the dialog box to a Player asynchronously.
Public methodToString (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.
Top
See Also