ContentControlListEntry.Text 属性

定义

返回或设置下拉列表或组合框内容控件的列表项的显示文本。 读/写。

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

属性值

String

注解

列表中的项必须具有唯一的显示名称。 尝试将 Text 属性更改为条目列表中已存在的字符串会引发运行时错误。

适用于