Partilhar via


EntityEditor.PreferContentEditableDiv Property

Gets or sets the value that represents the property that forces the people picker control to render in a content editable generic block-level container (div).

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

Syntax

'Declaration
Public Overridable Property PreferContentEditableDiv As Boolean
    Get
    Set
'Usage
Dim instance As EntityEditor
Dim value As Boolean

value = instance.PreferContentEditableDiv

instance.PreferContentEditableDiv = value
public virtual bool PreferContentEditableDiv { get; set; }

Property Value

Type: System.Boolean
true if the people picker control is rendered as a content editable div, otherwise, false and it will be rendered as a multiline text box. The Default is true if the site is in v4UI, and the default is false if the site is in v3UI.

Remarks

Partner Controls that inherit from this control can override this property.

Partner Controls that contains this control can set this property to true or false.

See Also

Reference

EntityEditor Class

EntityEditor Members

Microsoft.SharePoint.WebControls Namespace