Command.SoftkeyLabel Property

Definition

Sets or returns the label used when a softkey is displayed. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

Property Value

The label used when a soft key is displayed.

Attributes

Remarks

This property is used only for devices that support softkeys.

If this property is empty, the Text property of the control is used. If the Text property is empty or its length is less than 9, the Text property is used for the softkey label. Otherwise, the word Go (if it is a submit control command) is displayed.

The value of the SoftkeyLabel property is truncated to 12 characters (the standard maximum length of a softkey).

Applies to

See also