TechTalk Genome v4.2

DropDownField Properties

The properties of the DropDownField class are listed below. For a complete list of DropDownField class members, see the DropDownField Members topic.

Public Instance Properties

AccessibleHeaderText (inherited from DataControlField)Gets or sets text that is rendered as the AbbreviatedText property value in some controls.
ApplyFormatInEditMode (inherited from BoundField)Gets or sets a value indicating whether the formatting string specified by the BoundField.DataFormatString property is applied to field values when the data-bound control that contains the BoundField object is in edit mode.
ControlStyle (inherited from DataControlField)Gets or sets the style of any Web server controls contained by the DataControlField object.
ConvertEmptyStringToNull (inherited from BoundField)Gets or sets a value indicating whether empty string values ("") are automatically converted to null values when the data field is updated in the data source.
DataField (inherited from BoundField)Gets or sets the name of the data field to bind to the BoundField object.
DataFormatString (inherited from BoundField)Gets or sets the string that specifies the display format for the value of the field.
FooterStyle (inherited from DataControlField)Gets or sets the style of the footer of the data control field.
FooterText (inherited from DataControlField)Gets or sets the text that is displayed in the footer item of a data control field.
HeaderImageUrl (inherited from DataControlField)Gets or sets the URL of an image that is displayed in the header item of a data control field.
HeaderStyle (inherited from DataControlField)Gets or sets the style of the header of the data control field.
HeaderText (inherited from BoundField)Gets or sets the text that is displayed in the header of a data control.
HtmlEncode (inherited from BoundField)Gets or sets a value indicating whether field values are HTML-encoded before they are displayed in a BoundField object.
HtmlEncodeFormatString (inherited from BoundField)
InsertVisible (inherited from DataControlField)Gets a value indicating whether the DataControlField object is visible when its parent data-bound control is in insert mode.
ItemStyle (inherited from DataControlField)Gets the style of any text-based content displayed by a data control field.
ListDataSourceID Gets or sets the ID property of the data source control that the drop-down list control should use to retrieve its data source.
ListDataTextField Gets or sets the field of the list data source that provides the text content of the list items.
ListDataTextFormatString Gets or sets the formatting string that controls how data bound to the list control is displayed.
ListDataValueField Gets or sets the field of the list data source that provides the value of each list item.
NullDisplayText (inherited from BoundField)Gets or sets the caption displayed for a field when the field's value is null.
ReadOnly (inherited from BoundField)Gets or sets a value indicating whether the value of the field can be modified in edit mode.
ShowHeader (inherited from DataControlField)Gets or sets a value indicating whether the header item of a data control field is rendered.
SortExpression (inherited from DataControlField)Gets or sets a sort expression that is used by a data source control to sort data.
Visible (inherited from DataControlField)Gets or sets a value indicating whether a data control field is rendered.

Protected Instance Properties

Control (inherited from DataControlField)Gets a reference to the data control that the DataControlField object is associated with.
DesignMode (inherited from DataControlField)Gets a value indicating whether a data control field is currently viewed in a design-time environment.
IsTrackingViewState (inherited from DataControlField)Gets a value indicating whether the DataControlField object is saving changes to its view state.
SupportsHtmlEncode (inherited from BoundField)Gets a value indicating whether HTML encoding is supported by a BoundField object.
ViewState (inherited from DataControlField)Gets a dictionary of state information that allows you to save and restore the view state of a DataControlField object across multiple requests for the same page.

See Also

DropDownField Class | TechTalk.Genome.Extensions.Web.UI.Controls Namespace