Share via


Field Element (Field Types Property Schema)

Applies to: SharePoint Foundation 2010

Important

This topic describes markup that was used in an obsolete method of rendering custom field type properties. It is provided solely to assist with the debugging of custom field type properties developed against earlier versions of SharePoint Foundation. For information about the recommended method, Custom Field Type Property Rendering.

Represents a variable property of a custom field type that is set when a column based on the field type is created.

<Field
  Name="Text" 
  DisplayName="Text" 
  MaxLength="Integer" 
  DisplaySize="Integer" 
  Type="Text">
</Field>

Attributes

Attribute

Description

Name

Required Text. The name of the property of the field type that the Field element represents.

DisplayName

Required Text. The name of the property that appears in the UI when a column based on the field type is created.

MaxLength

Required Text. The maximum length, in characters, of the property's value.

DisplaySize

Required Text. The length, in characters, of the control that holds the property value in the UI.

Type

Required Text. The underlying data type of the property's value.

Child Elements

Default Element (Field Types Property Schema)

Parent Elements

Fields Element (Field Types Property Schema)

Remarks

See PropertySchema Element (Field Types) for a detailed description and example of this element in context.

See Also

Concepts

Custom Field Types

How to: Create a Custom Field Class

Custom Field Type Property Rendering

How to: Create a Custom Field Type Definition