ListControlDesigner.DataTextField Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the data text field of the control.
public:
property System::String ^ DataTextField { System::String ^ get(); void set(System::String ^ value); };
public string DataTextField { get; set; }
member this.DataTextField : string with get, set
Public Property DataTextField As String
Property Value
The DataTextField of the list control.
Remarks
The DataTextField property sets or retrieves the markup to use for the design-time representation of the control at run time. This provides access via the designer to the DataTextField property of the associated control, which corresponds to the field of the data source that provides the text content of the list items.