편집

다음을 통해 공유


ListControlDesigner.DataTextField Property

Definition

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.

Applies to

See also