ContentControlListEntry.Text Property

Definition

Returns or sets the display text of a list item for a drop-down list or combo box content control. Read/write.

public:
 property System::String ^ default { System::String ^ get(); void set(System::String ^ value); };
public string this { get; set; }
member this.Text : string with get, set
Default Public Property Text As String

Property Value

String

Remarks

List entries must have unique display names. Attempting to change the Text property to a string that already exists in the list of entries raises a run-time error.

Applies to