Command::SoftkeyLabel Property

 

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 the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(true)]
property String^ SoftkeyLabel {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The label used when a soft key is displayed.

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).

The following example demonstrates how to use the SoftkeyLabel property.

.NET Framework
Available since 1.1

SoftkeyLabel
TextControl
Command Class
System.Web.UI.MobileControls Namespace
Introduction to the Command Control

Return to top
Show: