Share via


Command.SoftkeyLabel 属性

定义

设置或返回显示软键时使用的标签。 默认值为空字符串 ("")。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

public:
 property System::String ^ SoftkeyLabel { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string SoftkeyLabel { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.SoftkeyLabel : string with get, set
Public Property SoftkeyLabel As String

属性值

显示软键时使用的标签。

属性

注解

此属性仅用于支持软键的设备。

如果此属性为空,则 Text 使用 控件的 属性。 Text如果 属性为空或长度小于 9,则Text属性用于软键标签。 否则,如果单词 Go 是提交控件命令,则 () 显示。

属性的值 SoftkeyLabel 被截断为 12 个字符, (软键) 的标准最大长度。

适用于

另请参阅