ESRI.ArcGIS.Mobile.Client
MenuDialog Constructor(String,Generic IList,Boolean,Form)
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client.Dialogs Namespace > Generic MenuDialog Class > MenuDialog Constructor : MenuDialog Constructor(String,Generic IList,Boolean,Form)

prompt
The text to prompt the user with.
items
The menu items to be shown.
showCancelButton
Specifies whether the cancel button is shown.
backgroundForm
The form to be displayed in the background.
Instantiates a MenuDialog.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal prompt As String, _
   ByVal items As IList(Of T), _
   ByVal showCancelButton As Boolean, _
   ByVal backgroundForm As Form _
)
C# 
public Generic MenuDialog( 
   string prompt,
   IList<T> items,
   bool showCancelButton,
   Form backgroundForm
)

Parameters

prompt
The text to prompt the user with.
items
The menu items to be shown.
showCancelButton
Specifies whether the cancel button is shown.
backgroundForm
The form to be displayed in the background.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also