共用方式為


ContextSelector<T>.AllowPopup Property

Gets or sets a value that indicates whether pop-ups are allowed.

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

Syntax

'Declaration
Public Property AllowPopup As Boolean
    Get
    Set
'Usage
Dim instance As ContextSelector
Dim value As Boolean

value = instance.AllowPopup

instance.AllowPopup = value
public bool AllowPopup { get; set; }

Property Value

Type: System.Boolean
true if pop-up menus are allowed; otherwise, false.

See Also

Reference

ContextSelector<T> Class

ContextSelector<T> Members

Microsoft.SharePoint.WebControls Namespace