SPField properties
The SPField type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
AggregationFunction | Gets or sets the aggregation function for the field. |
![]() |
AllowDeletion | Gets or sets a Boolean value that specifies whether the field can be deleted. |
![]() |
AuthoringInfo | Gets the descriptive string that is used in pages for editing fields to identify the field and its purpose. |
![]() |
CalloutMenu | Gets or sets an indication of whether the field shows a link to the callout menu. |
![]() |
CalloutMenuAllowed | Gets or sets an indication of whether showing the callout menu in the field is allowed, prohibited, or is optional and determined by the CalloutMenu property. |
![]() |
CanBeDeleted | Gets a Boolean value that indicates whether the field can be deleted. |
![]() |
CanBeDisplayedInEditForm | A read-only property indicating whether or not the field can be displayed in an edit form. |
![]() |
CanToggleHidden | Gets a Boolean value that indicates whether the column can be hidden through the user interface. |
![]() |
CompositeIndexable | Indicates whether and in what capacity the field can participate in a composite index. |
![]() |
DefaultFormula | Gets or sets the default formula for a calculated field. |
![]() |
DefaultListField | Gets a value that indicates whether to show the properties form of a file when it is uploaded to a document library. |
![]() |
DefaultValue | Gets or sets the default value for a field. |
![]() |
DefaultValueTyped | Gets the default value object based on the field type. |
![]() |
Description | Gets or sets the description for a field. |
![]() |
DescriptionResource | Gets an SPUserResource object that represents the translations for the description of the field. |
![]() |
Direction | Gets or sets the direction of the reading order for the field. |
![]() |
DisplaySize | Gets or sets the display size for the field. |
![]() |
EnforceUniqueValues | Gets or sets a Boolean value that specifies whether to enforce uniqueness in column values. The default is false. |
![]() |
EntityPropertyName | Gets the name of the entity property for the list item entity that uses this field. |
![]() |
FieldReferences | Gets a string array that contains the internal names of fields that are referenced in a computed field. |
![]() |
FieldRenderingControl | Gets the field type control that is used to render the field in Display, Edit, and New forms, as well as in data form Web Parts or pages that use field controls. |
![]() |
FieldRenderingMobileControl | Obsolete. Deprecated. Use the FieldRenderingMobileWebControl property instead. Gets the mobile field type control that is used to render the field in Display, Edit, and New forms, data form Web Parts, or any pages that use field controls in mobile applications. |
![]() |
FieldRenderingMobileWebControl | When implemented in a derived class, gets the mobile field type control that is used to render the field in Display, Edit, and New forms, data form Web Parts, or any pages that use field controls. |
![]() |
FieldTypeDefinition | Gets an SPFieldTypeDefinition object that represents the field type definition for the field. |
![]() |
FieldValueType | Gets the value type of the field when the field type has its own value type. |
![]() |
Filterable | Gets a Boolean value that indicates whether the field can be filtered. |
![]() |
FilterableNoRecurrence | Gets a Boolean value that indicates whether a filter can be created on a field in a view that does not expand recurring events. |
![]() |
FromBaseType | Gets a Boolean value that indicates whether the field derives from a base field type. |
![]() |
Group | Gets or sets the column group to which the field belongs. |
![]() |
Hidden | Gets or sets a Boolean value that specifies whether the field is displayed in the list. |
![]() |
Id | Gets the GUID of the field. |
![]() |
IMEMode | Gets or sets the Input Method Editor (IME) mode bias to use for the field. The IME enables conversion of keystrokes between languages when one writing system has more characters than can be encoded for the given keyboard. |
![]() |
Indexable | Read-only property indicating whether the field can be indexed or not. |
![]() |
Indexed | Gets or sets a Boolean value that specifies whether the field is indexed. |
![]() |
InternalName | Gets the internal name that is used for the field. |
![]() |
JSLink | When implemented in a derived class, gets or sets the name of an external JavaScript file (or set of files separated by the "|" character) that contains any client rendering logic for fields of the derived type. |
![]() |
JumpToField | Gets the name of a field that represents the next question to which users are taken in a survey, which is dependent on the answer they give to the current question. |
![]() |
LinkToItem | Gets or sets an indication of whether the field should show a link to the list item's display form when displayed in a list view. |
![]() |
LinkToItemAllowed | Gets or sets an indication of whether the field, in List View, can show a link to the list item's display form. |
![]() |
ListItemMenu | Gets or sets an indication of whether the field should show a link to the list item's drop down menu when displayed in a list view. |
![]() |
ListItemMenuAllowed | Gets or sets an indication of whether the field, in List View, can show a link to the list item's drop down menu. |
![]() |
NoCrawl | Gets or sets a Boolean value that specifies whether the field can be crawled by a search engine. |
![]() |
ParentList | Gets the parent list that contains the field. |
![]() |
PIAttribute | Gets or sets the attribute in the document processing instruction (specified by the PITarget property) that is used as the column value for property promotion and demotion in XML documents. |
![]() |
PITarget | Gets or sets the document processing instruction in which the column value is stored in documents of the specified content type, which is used for property promotion and demotion in XML documents. |
![]() |
PreviewValueTyped | Gets a preview value of field data for a design-time view of the field control in Display and Edit modes when there is no list item data associated with the field. |
![]() |
PrimaryPIAttribute | Gets or sets an alternate attribute in the document processing instruction, specified by the PrimaryPITarget property, that is used as the column value in property promotion and demotion in XML documents. |
![]() |
PrimaryPITarget | Gets or sets an alternative document processing instruction in which the column value is stored for documents of the specified content type. |
![]() |
PushChangesToLists | Gets or sets a Boolean value that specifies whether to propagate changes that are made in the field template to lists that implement the field. |
![]() |
ReadOnlyField | Gets or sets a Boolean value that specifies whether values in the field can be modified. |
![]() |
RelatedField | Gets or sets the internal name of a field to which the current field is related. |
![]() |
Reorderable | Gets a Boolean value that indicates whether values in the field can be reordered. |
![]() |
Required | Gets or sets a Boolean value that determines whether users must enter a value for the field on New and Edit forms. |
![]() |
SchemaXml | Gets or sets the schema that defines the field. |
![]() |
SchemaXmlWithResourceTokens | Gets the schema that defines the field and includes resource tokens. |
![]() |
Scope | Gets the Web site-relative path to the list in which the field collection is used. |
![]() |
Sealed | Gets a value that indicates whether Microsoft SharePoint Foundation field type (as specified in the Type property) can be the parent of a custom derived field type. |
![]() |
ShowInDisplayForm | Gets or sets a Boolean value that specifies whether the field is displayed in the form for displaying list items. |
![]() |
ShowInEditForm | Gets or sets a Boolean value that specifies whether the field is displayed in the form that is used to edit list items. |
![]() |
ShowInListSettings | Gets or sets a Boolean value that specifies whether the field is displayed in the page for customizing list settings. |
![]() |
ShowInNewForm | Gets or sets a Boolean value that specifies whether the field is displayed in the form that is used to create list items. |
![]() |
ShowInVersionHistory | Gets or sets a Boolean value that specifies whether the field is displayed in the page for viewing list item versions. |
![]() |
ShowInViewForms | Gets or sets a Boolean value that specifies whether the field is displayed in pages that are used to view list data. |
![]() |
Sortable | Gets a Boolean value that determines whether the field can be sorted. |
![]() |
SourceId | Gets either the namespace that defines a built-in field or, if it a custom field, the GUID that identifies the list or Web site where it was created. |
![]() |
StaticName | Gets or sets a static name for the field. |
![]() |
Title | Gets or sets the display name for the field. |
![]() |
TitleResource | Gets the resource object associated with the field’s display name. |
![]() |
TranslationXml | Document content that has been stored in a multilingual database for display as an XML document. |
![]() |
Type | Gets or sets the type of the field. |
![]() |
TypeAsString | Gets the type of the field as a string value. |
![]() |
TypeDisplayName | Gets the display name of the field type. |
![]() |
TypeShortDescription | Gets the description of the field. |
![]() |
UsedInWebContentTypes | Gets a Boolean value that indicates whether the field is implemented in any content type that is used in the site collection. |
![]() |
ValidationEcmaScript | Gets an ECMAScript function that corresponds to the field’s validation formula. |
![]() |
ValidationFormula | Indicates the formula referenced by the field and is evaluated when a list item is added or updated. |
![]() |
ValidationMessage | Gets or sets a message to display to the user if validation fails for this field. |
![]() |
Version | Gets the version of the field. |
![]() |
XPath | Gets or sets the XPath expression to the field. |
Top