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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
ReadOnly Property DisplayAsNewSection As Boolean
Get
'Usage
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; }
}
Public ReadOnly Property DisplayAsNewSection() As Boolean
Get
Return False
End Get
End Property
See Also
Reference
Microsoft.SharePoint.WebControls Namespace
Other Resources
How to: Create a Custom Field Class