Click or drag to resize

ListDialog Class

Represents a dialog with a list of selectable rows.
Inheritance Hierarchy
SystemObject
  SampSharp.Entities.SAMPListDialog

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class ListDialog : IDialog<ListDialogResponse>, 
	IDialog, IEnumerable<ListDialogRow>, IEnumerable

The ListDialog type exposes the following members.

Constructors
  NameDescription
Public methodListDialog
Initializes a new instance of the ListDialog class.
Top
Properties
  NameDescription
Public propertyButton1
Gets or sets the text on the left button of this list dialog.
Public propertyButton2
Gets or sets the text on the right button of this list dialog. If the value is null, the right button is hidden.
Public propertyCaption
Gets or sets the caption of this list dialog.
Public propertyRows
Gets the rows of this dialog.
Top
Methods
  NameDescription
Public methodAdd(String)
Adds a row to the list with the specified text.
Public methodAdd(ListDialogRow)
Adds the specified row to the list.
Public methodAdd(String, Object)
Adds a row to the list with the specified text and tag.
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 methodGetEnumerator
Returns an enumerator that iterates through the collection.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also