Share via


PickerDialog class

Represents a dialog box in which the user can select items. This class is intended to be the base class for custom implementations.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.PickerDialog
      Microsoft.SharePoint.WebControls.EntityPickerDialog
      Microsoft.SharePoint.WebControls.ItemPickerDialog
      Microsoft.SharePoint.WebControls.PeoplePickerDialog

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class PickerDialog _
    Inherits Control
'Usage
Dim instance As PickerDialog
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class PickerDialog : Control

Remarks

To perform the query when you create a custom picker dialog, you must set the QueryControl property of the PickerDialog object constructor to initialize it. The PickerDialog class is the base class for the PeoplePickerDialog class.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

PickerDialog members

Microsoft.SharePoint.WebControls namespace