<Field> Element (.NET Framework Developer's Guide )
Represents a field of an ObjectList ASP.NET mobile control. An ObjectListField object can be declared as a <Field> element within the declaration of an ObjectList control.
<Field Name="uniqueName"
DataField="value"
DataFormatString="formatString"
Title="titleText"
Visible="[True | False]" />
Properties
Property | Description |
---|---|
Sets or returns the name of the property from which to bind data. The default value is an empty string (""). |
|
Sets or returns the formatting string to use to format the data value. The default value is an empty string (""). |
|
Sets or returns a name for the field. The default value is an empty string (""). |
|
Sets or returns the title used to identify the field. The default value is an empty string (""). |
|
Sets or returns true if the field is rendered. The default value is true. |
Containment Rules
The following controls can contain a <Field> element.
Control | Comments |
---|---|
ObjectList |
An ObjectList control can contain any number of <Field> elements. |
A <Field> element cannot contain any child controls or elements.