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
      ResourcePickerDialog
      Microsoft.SharePoint.WebControls.EntityPickerDialog
      Microsoft.SharePoint.WebControls.ItemPickerDialog
      Microsoft.SharePoint.WebControls.PeoplePickerDialog

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class PickerDialog _
    Inherits Control
'Usage
Dim instance As PickerDialog
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, 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