TaxonomyField.Open property

Gets or sets a Boolean value that specifies whether the new Term objects can be added to the TermSet while typing in the TaxonomyField editor control.

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)

Syntax

'Declaration
Public Property Open As Boolean
    Get
    Set
'Usage
Dim instance As TaxonomyField
Dim value As Boolean

value = instance.Open

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

Property value

Type: System.Boolean
true if new Term objects can be added to the TermSet while typing in the TaxonomyField editor control; otherwise, false.

Remarks

If this property is true and the TermSet is open, then typing text in the taxonomy field editor control will display a Create New option in the Suggestions drop-down list if that Term does not already exist at the root level of the TermSet. Selecting the Create New option will create a new Term with that text as the default Label object.

This property does not apply to the the Enterprise Keywords TermSet, since it always allows new Term objects to be added by selecting Create New in the Suggestions drop-down list.

It is not possible to create Term objects that are created by using the Create New at an arbitrary position in the hierarchy of Term objects in the TermSet. All Term objects created with this option are created at the root level of the TermSet.

See also

Reference

TaxonomyField class

TaxonomyField members

Microsoft.SharePoint.Client.Taxonomy namespace

Microsoft.SharePoint.Client.Taxonomy

Microsoft.SharePoint