Condividi tramite


IFieldEditor.DisplayAsNewSection Property

Gets a value that indicates whether the field property editor should be in a special section on the page.

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

Syntax

ReadOnly Property DisplayAsNewSection As Boolean
    Get

Dim instance As IFieldEditor
Dim value As Boolean

value = instance.DisplayAsNewSection
bool DisplayAsNewSection { get; }

Property Value

Type: System.Boolean
true if the editor should be in its own section; otherwise, false.

Remarks

In Windows SharePoint Services 3.0, when this property is false, the editor appears in the Additional Column Settings section of the New Site Column, Change Site Column, Create Column, and Change Column pages. If the property value is true, the editor appears in its own section on the page.

Examples

The following code is an example of an implementation of this property.

public bool DisplayAsNewSection
{
    get { return false; }
}

See Also

Reference

IFieldEditor Interface

IFieldEditor Members

Microsoft.SharePoint.WebControls Namespace

Other Resources

Custom Field Types

Custom Field Classes

Custom Field Type Definition

Editor Controls for Field Type Properties